summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_scheduler.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-24 18:11:32 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-24 18:11:32 +0200
commit10c183b178ed16efd8d721fd71ab52635efb540b (patch)
tree5f54f03e126aedf4515ff5104f74b51623381252 /bin/reproducible_scheduler.py
parent9f7e744f66e42824cd7d66063b8ebcab915733e7 (diff)
downloadjenkins.debian.net-10c183b178ed16efd8d721fd71ab52635efb540b.tar.xz
reproducible: another attempt to fix grammar in irc notifications
Diffstat (limited to 'bin/reproducible_scheduler.py')
-rwxr-xr-xbin/reproducible_scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 687ca07f..f70787e8 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -330,7 +330,7 @@ def scheduler():
message = 'Scheduled in ' + '+'.join(SUITES) + ': '
if msg_untested:
message += msg_untested
- message += ' and ' if msg_new and msg_old else ', ' if msg_new or msg_old else ''
+ message += ' and ' if msg_new and not msg_old else ', ' if msg_new or msg_old else ''
message += msg_new if msg_new else ''
message += ' and ' if ( msg_untested and not msg_new ) or ( msg_old and msg_untested ) else ''
message += msg_old if msg_old else ''