diff options
-rwxr-xr-x | bin/reproducible_scheduler.py | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 878e2f4b..75b123f6 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -238,10 +238,7 @@ def scheduler(): untested = {} for suite in SUITES: log.info('Requesting 444 untested packages in ' + suite + '...') - if suite == 'testing': - untested[suite] = scheduler_untested_packages(suite, 444) - else: - untested[suite] = scheduler_untested_packages(suite, 0) + untested[suite] = scheduler_untested_packages(suite, 444) total += len(untested[suite]) log.info('Received ' + str(len(untested[suite])) + ' untested packages in ' + suite + ' to schedule.') log.info('==============================================================') @@ -256,10 +253,7 @@ def scheduler(): many_new = 150 log.info('Requesting ' + str(many_new) + ' new versions in ' + suite + '...') for suite in SUITES: - if suite == 'testing': - new[suite] = scheduler_new_versions(suite, many_new) - else: - new[suite] = scheduler_new_versions(suite, 0) + new[suite] = scheduler_new_versions(suite, many_new) total += len(new[suite]) log.info('Received ' + str(len(new[suite])) + ' new packages in ' + suite + ' to schedule.') log.info('==============================================================') @@ -280,10 +274,7 @@ def scheduler(): else: suite_many_old = many_old_base # experimental is roughly one tenth of the size of the other suites log.info('Requesting ' + str(suite_many_old) + ' old packages in ' + suite + '...') - if suite == 'testing': - old[suite] = scheduler_old_versions(suite, suite_many_old) - else: - old[suite] = scheduler_old_versions(suite, 0) + old[suite] = scheduler_old_versions(suite, suite_many_old) total += len(old[suite]) log.info('Received ' + str(len(old[suite])) + ' old packages in ' + suite + ' to schedule.') log.info('==============================================================') |