[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible Debian: Rename variable to disambiguate with 'scheduling_args.message'.

Holger Levsen holger at layer-acht.org
Mon Jun 5 13:26:02 UTC 2017


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 5b52480cc876413f288b6aef463fd2a08f93ed9e
Author: Daniel Shahaf <danielsh at apache.org>
Date:   Mon Jun 5 11:37:33 2017 +0000

    reproducible Debian: Rename variable to disambiguate with 'scheduling_args.message'.
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_remote_scheduler.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 610fff0..efc04b0 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

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