From df923cd62d494512e39aa2b18268f35d249e8de7 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 23 Jul 2015 00:25:42 +0200 Subject: reproducible: fix conditional grammar in irc message --- bin/reproducible_scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index f988d181..687ca07f 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -332,7 +332,7 @@ def scheduler(): message += msg_untested message += ' and ' if msg_new and msg_old else ', ' if msg_new or msg_old else '' message += msg_new if msg_new else '' - message += ' and ' if msg_untested or msg_old and msg_untested else '' + message += ' and ' if ( msg_untested and not msg_new ) or ( msg_old and msg_untested ) else '' message += msg_old if msg_old else '' total = [now_queued_here[x] for x in SUITES] message += ', for ' + str(sum(total)) + ' or ' + \ -- cgit v1.2.3-70-g09d2