Commit ebc9ca95 by Michael DeHaan

Merge pull request #6635 from pilou-/debconf

Fix ValueError when selection contains a colon
parents a24d3f78 1bb5b0f6
...@@ -96,7 +96,7 @@ def get_selections(module, pkg): ...@@ -96,7 +96,7 @@ def get_selections(module, pkg):
selections = {} selections = {}
for line in out.splitlines(): for line in out.splitlines():
(key, value) = line.split(':') (key, value) = line.split(':', 1)
selections[ key.strip('*').strip() ] = value.strip() selections[ key.strip('*').strip() ] = value.strip()
return selections 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