[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: fix irc message, natural language is hard

Holger Levsen holger at moszumanska.debian.org
Tue Jun 16 00:53:29 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 dd6e9fda38cc9d2cf9afe1673a958473f6dd5b9d
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Jun 16 02:52:49 2015 +0200

    reproducible: fix irc message, natural language is hard
---
 bin/reproducible_scheduler.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 7db89a0..c550fdf 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -332,7 +332,8 @@ 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 ' + msg_old if msg_old else ''
+    message += ' and ' if msg_new or msg_old else ''
+    message += msg_old if msg_old else ''
     message += ', for ' + str(total) + ' or ' + \
               '+'.join([str(now_queued_here[x]) for x in SUITES]) + ' packages in total.'
     log.info('\n\n\n')

-- 
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