From 1f997c076b6d0ed66e6817935d29920e0cac0af3 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Thu, 24 Sep 2015 16:48:51 +0200 Subject: Cosmetic. --- tools/certtools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/certtools.py b/tools/certtools.py index 307a728..49f4b34 100644 --- a/tools/certtools.py +++ b/tools/certtools.py @@ -739,7 +739,7 @@ def extract_original_entry(entry): def mv_file(fromfn, tofn): shutil.move(fromfn, tofn) -def write_file(fn, sth): +def write_file(fn, jsondata): tempname = fn + ".new" - open(tempname, 'w').write(json.dumps(sth)) + open(tempname, 'w').write(json.dumps(jsondata)) mv_file(tempname, fn) -- cgit v1.1