From fd74accc7371002f806ef07c026951f4212467dc Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 10 Jul 2015 13:09:57 +0200 Subject: fix typos --- bin/reproducible_json.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_json.py b/bin/reproducible_json.py index 30000f7b..26f06a78 100755 --- a/bin/reproducible_json.py +++ b/bin/reproducible_json.py @@ -37,13 +37,13 @@ for row in result: log.debug(pkg) output.append(pkg) # tracker.d.o should only care about results in unstable - if row['suite'] == 'unstable': + if pkg['suite'] == 'unstable': output4tracker.append(pkg) # normal json tmpfile = tempfile.mkstemp(dir=os.path.dirname(REPRODUCIBLE_JSON))[1] with open(tmpfile, 'w') as fd: - json.dump(outputa, fd, indent=4, sort_keys=True) + json.dump(output, fd, indent=4, sort_keys=True) os.rename(tmpfile, REPRODUCIBLE_JSON) os.chmod(REPRODUCIBLE_JSON, 0o644) -- cgit v1.2.3-70-g09d2