mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
Fix NameError in case where job extra vars are specified as key=value.
This commit is contained in:
parent
16d6ec252f
commit
a32fc02323
@ -109,7 +109,7 @@ class VarsDictProperty(object):
|
||||
pass
|
||||
if d is None and self.key_value:
|
||||
d = {}
|
||||
for kv in [x.decode('utf-8') for x in shlex.split(extra_vars, posix=True)]:
|
||||
for kv in [x.decode('utf-8') for x in shlex.split(v, posix=True)]:
|
||||
if '=' in kv:
|
||||
k, v = kv.split('=', 1)
|
||||
d[k] = v
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user