[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: correctly calculate total amount of packages
Holger Levsen
holger at moszumanska.debian.org
Wed Jul 8 19:57:55 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 48980c81d8d2ec5f6f79372dbe19e0666168f61d
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Jul 8 21:57:32 2015 +0200
reproducible: correctly calculate total amount of packages
---
bin/reproducible_scheduler.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index b2fcb11..dd5f6ab 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -334,7 +334,9 @@ def scheduler():
message += msg_new if msg_new else ''
message += ' and ' if msg_untested or msg_old and msg_untested else ''
message += msg_old if msg_old else ''
- message += ', for ' + str(total) + ' or ' + \
+ total = 0
+ total += [now_queued_here[x] for x in SUITES]
+ message += ', for ' + total + ' or ' + \
'+'.join([str(now_queued_here[x]) for x in SUITES]) + ' packages in total.'
log.info('\n\n\n')
log.info(message)
--
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