Use os.pathsep to split roles_path instead of a colon
parent
82d145534c
commit
c37fa5ddce
|
@ -199,8 +199,8 @@ def get_opt(options, k, defval=""):
|
||||||
except:
|
except:
|
||||||
return defval
|
return defval
|
||||||
if k == "roles_path":
|
if k == "roles_path":
|
||||||
if ":" in data:
|
if os.pathsep in data:
|
||||||
data = data.split(':')[0]
|
data = data.split(os.pathsep)[0]
|
||||||
return data
|
return data
|
||||||
|
|
||||||
def exit_without_ignore(options, rc=1):
|
def exit_without_ignore(options, rc=1):
|
||||||
|
|
Loading…
Reference in New Issue