diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-06-15 10:33:13 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-06-15 10:42:45 +0200 |
commit | ab52c3913d163cc1c0638c08c6bed8e58a5ba0ad (patch) | |
tree | 985a1704fbe1ef7557971511c2e7fada7039ad4a /bin | |
parent | 5d9180ec0ac9dcee72aea46e40de4e48037770f4 (diff) | |
download | jenkins.debian.net-ab52c3913d163cc1c0638c08c6bed8e58a5ba0ad.tar.xz |
reproducible: remote_scheduler: don't message the irc channel if 0 packages got scheduled
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_remote_scheduler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py index d8ece34f..cbcc7aa0 100755 --- a/bin/reproducible_remote_scheduler.py +++ b/bin/reproducible_remote_scheduler.py @@ -184,7 +184,7 @@ cursor.executemany(query2, save_schedule) conn_db.commit() log.info(bcolors.GOOD + message + bcolors.ENDC) -if not (local and requester == "jenkins maintenance job"): +if not (local and requester == "jenkins maintenance job") and len(ids) != 0: irc_msg(message) generate_schedule() # the html page |