mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
f61ba3d047
commit
189824dd76
2 changed files with 2 additions and 1 deletions
|
@ -70,6 +70,7 @@ def split_args(args):
|
|||
|
||||
# here we encode the args, so we have a uniform charset to
|
||||
# work with, and split on white space
|
||||
args = args.strip()
|
||||
try:
|
||||
args = args.encode('utf-8')
|
||||
do_decode = True
|
||||
|
|
|
@ -707,7 +707,7 @@ def parse_kv(args):
|
|||
for x in vargs:
|
||||
if "=" in x:
|
||||
k, v = x.split("=",1)
|
||||
options[k] = unquote(v)
|
||||
options[k] = unquote(v.strip())
|
||||
return options
|
||||
|
||||
def merge_hash(a, b):
|
||||
|
|
Loading…
Reference in a new issue