From 5b52480cc876413f288b6aef463fd2a08f93ed9e Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Mon, 5 Jun 2017 11:37:33 +0000 Subject: reproducible Debian: Rename variable to disambiguate with 'scheduling_args.message'. Signed-off-by: Holger Levsen --- bin/reproducible_remote_scheduler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2