mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 19:20:22 -07:00
Fix ValueError when selection contains a colon
This commit is contained in:
parent
3e6bf9640c
commit
1bb5b0f6bd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue