summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-13 02:25:07 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-13 02:25:07 +0200
commit74e4d6d133c3af3ed0c025374b105a10d9b88ad0 (patch)
treeddba7945bcf6a0df0cf5db0ca6613cc5ae8da185
parent372876b45d163802e1f6ee2a911c3d83e9ea4704 (diff)
downloadjenkins.debian.net-74e4d6d133c3af3ed0c025374b105a10d9b88ad0.tar.xz
reproducible: fix variable names
-rwxr-xr-xbin/reproducible_scheduler.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index b6ebc35a..3f079f63 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -251,8 +251,8 @@ def schedule_new_versions(total):
many_new = 150
for suite in SUITES:
log.info('Requesting ' + str(many_new) + ' new versions in ' + suite + '...')
- new[suite] = query_new_versions(suite, many_new)
- log.info('Received ' + str(len(new[suite])) + ' new packages in ' + suite + ' to schedule.')
+ packages[suite] = query_new_versions(suite, many_new)
+ log.info('Received ' + str(len(packages[suite])) + ' new packages in ' + suite + ' to schedule.')
log.info('==============================================================')
if add_up_numbers(packages) != '0':
msg = add_up_numbers(packages) + ' packages with new versions'
@@ -277,8 +277,8 @@ def schedule_old_versions(total):
else:
suite_many_old = int(many_old_base) # experimental is roughly one twentieth of the size of the other suites
log.info('Requesting ' + str(suite_many_old) + ' old packages in ' + suite + '...')
- old[suite] = query_old_versions(suite, suite_many_old)
- log.info('Received ' + str(len(old[suite])) + ' old packages in ' + suite + ' to schedule.')
+ packages[suite] = query_old_versions(suite, suite_many_old)
+ log.info('Received ' + str(len(packages[suite])) + ' old packages in ' + suite + ' to schedule.')
log.info('==============================================================')
if add_up_numbers(packages) != '0':
msg = add_up_numbers(packages) + ' old packages with the same version'