Commit db579336 by Michael DeHaan

Allow ":" to be used to split patterns as well as ";" so if you are just using…

Allow ":" to be used to split patterns as well as ";" so if you are just using group names or fully explicit names you do not need to use shell quoting at all.  Obviously if you use wildcards like "*" you wouldstill.
parent c839229f
......@@ -129,7 +129,8 @@ class Runner(object):
if host_name == '':
return False
subpatterns = pattern.split(";")
pattern = pattern.replace(";",":")
subpatterns = pattern.split(":")
for subpattern in subpatterns:
# the pattern could be a real glob
if subpattern == 'all':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment