diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-07-08 20:36:25 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-07-08 22:36:46 +0200 |
commit | 00383797c432658dab5eabfe837345206a40051e (patch) | |
tree | a2f4e72b6b6cd4b1ead469354bf782cde9b525b5 | |
parent | 9e66b1fef74f6f0db2436d90af14b93265e13a3f (diff) | |
download | jenkins.debian.net-00383797c432658dab5eabfe837345206a40051e.tar.xz |
reproducible: scheduler: fix total counter
-rwxr-xr-x | bin/reproducible_scheduler.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index dd5f6abb..7ffcd61a 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -334,9 +334,8 @@ 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 '' - total = 0 - total += [now_queued_here[x] for x in SUITES] - message += ', for ' + total + ' or ' + \ + total = [now_queued_here[x] for x in SUITES] + message += ', for ' + str(sum(total)) + ' or ' + \ '+'.join([str(now_queued_here[x]) for x in SUITES]) + ' packages in total.' log.info('\n\n\n') log.info(message) |