Revert "Handle args that were previously parsed into lists, Fix #5031"

This reverts commit 773fda0fa1.
This commit is contained in:
Thomas S Hatch 2013-05-25 03:29:23 -06:00
parent 1ba039be8b
commit 62c9a5d05a

View File

@ -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)}