[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Debian: Fix splitting.

Holger Levsen holger at layer-acht.org
Tue May 23 14:25:40 UTC 2017


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 8e3a28ba0ca6ca1d288b320ad53a5c5fa13a8d22
Author: Daniel Shahaf <danielsh at apache.org>
Date:   Tue May 23 14:23:36 2017 +0000

    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 at layer-acht.org>
---
 bin/reproducible_remote_scheduler.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 5eff003..2baa22b 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

-- 
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