From 38ad7a96c55c15486ec87b51b91315021943f8c8 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 14 Jan 2014 00:39:19 +0100 Subject: tinc_stats: make graph generation future compatible --- retiolum/scripts/adv_graphgen/tinc_stats/Availability.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'retiolum/scripts/adv_graphgen/tinc_stats/Availability.py') diff --git a/retiolum/scripts/adv_graphgen/tinc_stats/Availability.py b/retiolum/scripts/adv_graphgen/tinc_stats/Availability.py index a1ef13f1..66defa44 100755 --- a/retiolum/scripts/adv_graphgen/tinc_stats/Availability.py +++ b/retiolum/scripts/adv_graphgen/tinc_stats/Availability.py @@ -20,7 +20,7 @@ def generate_stats(): for line in f: jlines.append(json.loads(line)) f.close() - except Exception,e: + except Exception as e: pass all_nodes = {} for k in get_all_nodes(): -- cgit v1.2.3