summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDaniel Shahaf <danielsh@apache.org>2017-06-05 11:37:33 +0000
committerHolger Levsen <holger@layer-acht.org>2017-06-05 15:25:55 +0200
commit5b52480cc876413f288b6aef463fd2a08f93ed9e (patch)
tree41aa2ae66bf0215f616ba04d554bd6631787b68b /bin
parentca29f53204f5d9e87097d457f9313a7c0eaf44cd (diff)
downloadjenkins.debian.net-5b52480cc876413f288b6aef463fd2a08f93ed9e.tar.xz
reproducible Debian: Rename variable to disambiguate with 'scheduling_args.message'.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_remote_scheduler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 610fff0d..efc04b05 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -256,7 +256,7 @@ def rest(scheduling_args, requester, local, suite, arch):
message += ', reason: \'' + reason + '\''
message += ': ' + ' '.join(pkgs)[0:256] + blablabla + trailing
return message
- message = compose_irc_message()
+ info_msg = compose_irc_message()
del compose_irc_message
# these packages are manually scheduled, so should have high priority,
@@ -354,10 +354,10 @@ def rest(scheduling_args, requester, local, suite, arch):
else:
log.info('Ran with --dry-run, scheduled nothing')
- log.info(bcolors.GOOD + message + bcolors.ENDC)
+ log.info(bcolors.GOOD + info_msg + bcolors.ENDC)
if not (local and requester == "jenkins maintenance job") and len(ids) != 0:
if not dry_run:
- irc_msg(message)
+ irc_msg(info_msg)
from reproducible_html_live_status import generate_schedule
generate_schedule(arch) # update the HTML page