[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: remote scheduler: correctly parse the -m option
Holger Levsen
holger at moszumanska.debian.org
Tue Aug 18 16:44:39 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 db689355c63b7e50f8f79e550504a72f142dc23c
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Tue Aug 18 16:41:06 2015 +0000
reproducible: remote scheduler: correctly parse the -m option
---
bin/reproducible_remote_scheduler.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 59e2498..435dedd 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -27,7 +27,7 @@ parser.add_argument('-n', '--notify', action='store_true',
help='Notify the channel when the build finishes')
parser.add_argument('--noisy', action='store_true', help='Also notify when ' +
'the build starts, linking to the build url.')
-parser.add_argument('-m', '--message', default='', nargs='+',
+parser.add_argument('-m', '--message', default='',
help='A text to be sent to the IRC channel when notifying' +
' about the scheduling')
parser.add_argument('-r', '--status', required=False,
@@ -68,7 +68,7 @@ except KeyError:
suite = scheduling_args.suite
arch = scheduling_args.architecture
-reason = ' '.join(scheduling_args.message)
+reason = scheduling_args.message
issue = scheduling_args.issue
status = scheduling_args.status
built_after = scheduling_args.after
--
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