diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-08-18 16:41:06 +0000 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-18 18:44:25 +0200 |
commit | db689355c63b7e50f8f79e550504a72f142dc23c (patch) | |
tree | 2613f3bc314d7dcefe58d0e079f5e062f0ee4b2b /bin | |
parent | e75c383c8d91523b435307fe16df091c107be7eb (diff) | |
download | jenkins.debian.net-db689355c63b7e50f8f79e550504a72f142dc23c.tar.xz |
reproducible: remote scheduler: correctly parse the -m option
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_remote_scheduler.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |