1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #6635 from pilou-/debconf

Fix ValueError when selection contains a colon
This commit is contained in:
Michael DeHaan 2014-03-23 16:19:54 -04:00
commit ebc9ca9504

View file

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