summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_remote_scheduler.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_remote_scheduler.py')
-rwxr-xr-xbin/reproducible_remote_scheduler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index e010eb7d..3cb1f7d8 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