From db689355c63b7e50f8f79e550504a72f142dc23c Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 18 Aug 2015 16:41:06 +0000 Subject: reproducible: remote scheduler: correctly parse the -m option --- bin/reproducible_remote_scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py index 59e2498e..435dedd5 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 -- cgit v1.2.3-70-g09d2