diff options
author | Linus Nordberg <linus@nordu.net> | 2015-09-24 16:48:51 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2015-11-10 12:48:47 +0100 |
commit | 0927be7926df22ccde907a445c198e1e7d5f53a0 (patch) | |
tree | c5c2a01b485b357feeda8ed0997fba1749f29094 /tools/certtools.py | |
parent | 302c45616c3accb22d7e84530da6be17adf2dc8d (diff) |
Cosmetic.
Diffstat (limited to 'tools/certtools.py')
-rw-r--r-- | tools/certtools.py | 4 |
1 files 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) |