From 915a6e560907e8a072dcd01c626790468f52877e Mon Sep 17 00:00:00 2001 From: Niles Rogoff Date: Wed, 18 Jan 2017 09:13:32 -0500 Subject: [PATCH] Code slightly cleaned up --- sigs2dot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sigs2dot.py b/sigs2dot.py index 8490177..0fa087f 100755 --- a/sigs2dot.py +++ b/sigs2dot.py @@ -10,7 +10,7 @@ def sanitize2(s): for char in ["\""]: s = s.replace(char,"") return s -def get(label, second = False, rev = False): +def get(label, rev = False): s = "\"" + sanitize2(label) + "\"" if rev: s += '[color="red",label="revocation"]' @@ -45,5 +45,5 @@ for line in f: rev = line[:3] == "rev" else: continue - print("\t" + get(currentsig) + " -> " + get(current_id, True, rev) + ";") + print("\t" + get(currentsig) + " -> " + get(current_id, rev) + ";") print("}")