summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-13 02:32:13 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-13 02:32:13 +0200
commit6b23830e6ec2a2e4e77e62a75430e9e32e1ef4ae (patch)
treedc937c669c6a5702b1f83a32a4f8c2062d268727
parent74e4d6d133c3af3ed0c025374b105a10d9b88ad0 (diff)
downloadjenkins.debian.net-6b23830e6ec2a2e4e77e62a75430e9e32e1ef4ae.tar.xz
reproducible: fix another variable name
-rwxr-xr-xbin/reproducible_scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 3f079f63..7db89a0f 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -316,7 +316,7 @@ def scheduler():
query = 'SELECT count(*) ' + \
'FROM schedule AS p JOIN sources AS s ON p.package_id=s.id ' + \
'WHERE s.suite="{suite}"'.format(suite=suite)
- queued[suite] = int(query_db(query)[0][0]) + \
+ now_queued_here[suite] = int(query_db(query)[0][0]) + \
len(untested[suite]+new[suite]+old[suite])
# schedule packages differently in the queue...
schedule_packages(untested[suite], datetime.now())