summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2015-09-24 16:48:51 +0200
committerLinus Nordberg <linus@nordu.net>2015-09-24 16:48:51 +0200
commit77475e45b7d1b64bbf0d1193fc1faa1eabfe5b17 (patch)
tree9c4d47bea9a6fcd74833f16f6dafb423352dc224
parent9c7442d0b203ef68f03cf3962d88e7fe8c0611f3 (diff)
Cosmetic.
-rw-r--r--tools/certtools.py4
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)