diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-07-10 13:09:57 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-07-10 13:09:57 +0200 |
commit | fd74accc7371002f806ef07c026951f4212467dc (patch) | |
tree | a1ada2a6e843e3f34eb981044fa40ca23393b4d8 | |
parent | bd3a7cef4ca381b0f571f4557addcb4c1a48ef08 (diff) | |
download | jenkins.debian.net-fd74accc7371002f806ef07c026951f4212467dc.tar.xz |
fix typos
-rwxr-xr-x | bin/reproducible_json.py | 4 |
1 files 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) |