summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-25 11:04:38 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-25 11:04:38 +0200
commit60beca931c53bd5313f4fbff0e536559457a8ecf (patch)
treed5a3e9cf8411127bab785781af7eb81109af5c18
parentb6e72c199e1d5754049a008835eaf50beff0ef3f (diff)
downloadjenkins.debian.net-60beca931c53bd5313f4fbff0e536559457a8ecf.tar.xz
reproducible: fixup b6e72c19 - or else!
-rwxr-xr-xbin/reproducible_scheduler.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 9ed6a86f..8201bd43 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -372,15 +372,15 @@ def scheduler():
message = 'Scheduled in ' + '+'.join(SUITES) + ': '
if msg_untested:
message += msg_untested
- message += ' and ' if msg_new and not msg_old_ftbfs and not msg_old
- message += ', ' if not msg_new and not msg_old_ftbfs and not msg_old
+ message += ' and ' if msg_new and not msg_old_ftbfs and not msg_old else ''
+ message += ', ' if not msg_new and not msg_old_ftbfs and not msg_old else ''
if msg_new:
message += msg_new
- message += ' and ' if msg_old_ftbfs and not msg_old
- message += ', ' if msg_old_ftbfs and msg_old
+ message += ' and ' if msg_old_ftbfs and not msg_old else ''
+ message += ', ' if msg_old_ftbfs and msg_old else ''
if msg_old_ftbfs:
message += msg_old_ftbfs
- message += ' and ' if msg_old_ftbfs
+ message += ' and ' if msg_old_ftbfs else ''
if msg_old:
message += msg_old
total = [now_queued_here[x] for x in SUITES]