mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
Minor style fix, update test to match quote fix patch
This commit is contained in:
parent
ec6f488d1f
commit
6db87a5018
2 changed files with 8 additions and 4 deletions
|
@ -274,5 +274,9 @@ def parse_kv(args, unquote=True):
|
|||
for x in args:
|
||||
if x.find("=") != -1:
|
||||
k, v = x.split("=")
|
||||
options[k]=unquote_string(v) if unquote else v
|
||||
if unquote:
|
||||
options[k]=unquote_string(v)
|
||||
else:
|
||||
v
|
||||
return options
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue