summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_remote_scheduler.py
diff options
context:
space:
mode:
authorDaniel Shahaf <danielsh@apache.org>2017-05-23 14:23:36 +0000
committerHolger Levsen <holger@layer-acht.org>2017-05-23 16:25:35 +0200
commit8e3a28ba0ca6ca1d288b320ad53a5c5fa13a8d22 (patch)
treeacec616fac0fdc14c13cacaa4afc0005e34b79bc /bin/reproducible_remote_scheduler.py
parentb8a359d0206160ed6e17af5824764bea3c39113b (diff)
downloadjenkins.debian.net-8e3a28ba0ca6ca1d288b320ad53a5c5fa13a8d22.tar.xz
reproducible Debian: Fix splitting.
The previous commit worked so long as you wrote -s $'unstable, \ttesting' in your command lines. Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_remote_scheduler.py')
-rwxr-xr-xbin/reproducible_remote_scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 5eff003f..2baa22b7 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -116,7 +116,7 @@ def parse_args():
local = False
# Shorter names
- suites = [x.strip() for x in (scheduling_args.suite or "").split(', \t')]
+ suites = [x.strip() for x in re.compile(r'[, \t]').split(scheduling_args.suite or "")]
suites = [x for x in suites if x]
arch = scheduling_args.architecture
reason = scheduling_args.message