Fix ValueError when selection contains a colon

pull/6635/head
Pierre-Louis Bonicoli 11 years ago
parent 3e6bf9640c
commit 1bb5b0f6bd

@ -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

Loading…
Cancel
Save