[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible: remote_scheduler: fix the --message option handling
Holger Levsen
holger at moszumanska.debian.org
Mon May 11 07:27:31 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 9450f4b92ef5fc62bd81749222b6bc91fdc82f77
Author: Mattia Rizzolo <mattia at mapreri.org>
Date: Sun May 10 19:19:45 2015 +0200
reproducible: remote_scheduler: fix the --message option handling
---
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 e010eb7..3cb1f7d 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -20,7 +20,7 @@ parser.add_argument('-a', '--artifacts', default=False, action='store_true',
help='Save artifacts (for further offline study)')
parser.add_argument('-s', '--suite', required=True,
help='Specify the suite to schedule in')
-parser.add_argument('-m', '--message', default='',
+parser.add_argument('-m', '--message', default='', nargs='+'
help='A text to be sent to the IRC channel when notifying' +
' about the scheduling')
parser.add_argument('packages', metavar='package', nargs='+',
@@ -50,7 +50,7 @@ except KeyError:
'trouble with that.' + bcolors.ENDC)
sys.exit(1)
suite = scheduling_args.suite
-reason = scheduling_args.message
+reason = ' '.join(scheduling_args.message)
packages = scheduling_args.packages
artifacts = scheduling_args.artifacts
--
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