Skip to content

Commit

Permalink
Fix ValueError when selection contains a colon
Browse files Browse the repository at this point in the history
  • Loading branch information
pilou- committed Mar 23, 2014
1 parent 3e6bf96 commit 1bb5b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/system/debconf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1bb5b0f

Please sign in to comment.