[Qa-jenkins-scm] [jenkins.debian.net] 01/01: fix typos
Holger Levsen
holger at moszumanska.debian.org
Fri Jul 10 11:10:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit fd74accc7371002f806ef07c026951f4212467dc
Author: Holger Levsen <holger at layer-acht.org>
Date: Fri Jul 10 13:09:57 2015 +0200
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 30000f7..26f06a7 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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list