Merge pull request #6635 from pilou-/debconf

Fix ValueError when selection contains a colon
reviewable/pr18780/r1
Michael DeHaan 11 years ago
commit 92a79c185b

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

Loading…
Cancel
Save