Fix ValueError when selection contains a colon
This commit is contained in:
parent
3b710005ad
commit
9a140881be
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue