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.
This commit is contained in:
parent
c839229f54
commit
db57933614
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,8 @@ class Runner(object):
|
||||||
|
|
||||||
if host_name == '':
|
if host_name == '':
|
||||||
return False
|
return False
|
||||||
subpatterns = pattern.split(";")
|
pattern = pattern.replace(";",":")
|
||||||
|
subpatterns = pattern.split(":")
|
||||||
for subpattern in subpatterns:
|
for subpattern in subpatterns:
|
||||||
# the pattern could be a real glob
|
# the pattern could be a real glob
|
||||||
if subpattern == 'all':
|
if subpattern == 'all':
|
||||||
|
|
Loading…
Reference in a new issue