mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Revert "Handle args that were previously parsed into lists, Fix #5031"
This reverts commit 773fda0fa1
.
This commit is contained in:
parent
1ba039be8b
commit
62c9a5d05a
@ -483,10 +483,7 @@ def single(fun, name, test=None, kwval_as='yaml', **kwargs):
|
||||
|
||||
for key, value in kwargs.iteritems():
|
||||
if not key.startswith('__pub_'):
|
||||
if not isinstance(value, list):
|
||||
kwargs[key] = parse_kwval(value)
|
||||
else:
|
||||
kwargs[key] = value
|
||||
kwargs[key] = parse_kwval(value)
|
||||
|
||||
ret = {'{0[state]}_|-{0[__id__]}_|-{0[name]}_|-{0[fun]}'.format(kwargs):
|
||||
st_.call(kwargs)}
|
||||
|
Loading…
Reference in New Issue
Block a user