Commit 26cd04aa by James Tanner

Use os.pathsep to split roles_path instead of a colon

parent 9da25289
......@@ -199,8 +199,8 @@ def get_opt(options, k, defval=""):
except:
return defval
if k == "roles_path":
if ":" in data:
data = data.split(':')[0]
if os.pathsep in data:
data = data.split(os.pathsep)[0]
return data
def exit_without_ignore(options, rc=1):
......
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