This commit is contained in:
Thomas Jackson 2014-10-31 14:00:12 -07:00
parent b4afb8ce43
commit 0f971412fd

View File

@ -187,7 +187,7 @@ def load_args_and_kwargs(func, args, data=None):
'by salt.utils.args.parse_input() before calling '
'salt.minion.load_args_and_kwargs().'
)
if argspec.keywords or string_kwarg..iterkeys().next() in argspec.args:
if argspec.keywords or string_kwarg.iterkeys().next() in argspec.args:
# Function supports **kwargs or is a positional argument to
# the function.
_kwargs.update(string_kwarg)