Commit 1bb5b0f6 by Pierre-Louis Bonicoli

Fix ValueError when selection contains a colon

parent 3e6bf964
......@@ -96,7 +96,7 @@ def get_selections(module, pkg):
selections = {}
for line in out.splitlines():
(key, value) = line.split(':')
(key, value) = line.split(':', 1)
selections[ key.strip('*').strip() ] = value.strip()
return selections
......
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