[Qa-jenkins-scm] [jenkins.debian.net] 04/04: reproducible: s#tbs#to_be_scheduled#g
Holger Levsen
holger at moszumanska.debian.org
Sat Aug 1 08:27:38 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 fd2bf36bb69c55aea5c9a3cdafe72db70b74cf32
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Aug 1 10:26:35 2015 +0200
reproducible: s#tbs#to_be_scheduled#g
---
bin/reproducible_scheduler.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 93c3b56..a492d01 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -367,12 +367,12 @@ def scheduler():
now_queued_here[suite] = int(query_db(query)[0][0]) + \
len(untested[suite]+new[suite]+old[suite])
# schedule packages differently in the queue...
- tbs = queue_packages({}, untested[suite], datetime.now())
- assert(isinstance(tbs, dict))
- tbs = queue_packages(tbs, new[suite], datetime.now()+timedelta(minutes=-720))
- tbs = queue_packages(tbs, old_ftbfs[suite], datetime.now()+timedelta(minutes=360))
- tbs = queue_packages(tbs, old[suite], datetime.now()+timedelta(minutes=720))
- schedule_packages(tbs)
+ to_be_scheduled = queue_packages({}, untested[suite], datetime.now())
+ assert(isinstance(to_be_scheduled, dict))
+ to_be_scheduled = queue_packages(to_be_scheduled, new[suite], datetime.now()+timedelta(minutes=-720))
+ to_be_scheduled = queue_packages(to_be_scheduled, old_ftbfs[suite], datetime.now()+timedelta(minutes=360))
+ to_be_scheduled = queue_packages(to_be_scheduled, old[suite], datetime.now()+timedelta(minutes=720))
+ schedule_packages(to_be_scheduled)
log.info('### Suite ' + suite + ' done ###')
log.info('==============================================================')
# update the scheduled page
--
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