mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
fix bad ref to **kwargs
This commit is contained in:
parent
3de2690a0f
commit
e2648cf030
@ -3,7 +3,6 @@ Execute salt convenience routines
|
||||
'''
|
||||
|
||||
# Import python libs
|
||||
import sys
|
||||
import inspect
|
||||
|
||||
# Import salt libs
|
||||
@ -47,7 +46,7 @@ class RunnerClient(object):
|
||||
self._verify_fun(fun)
|
||||
aspec = inspect.getargspec(self.functions[fun])
|
||||
if aspec[2]:
|
||||
return self.functions[fun](*arg, **kwargs)
|
||||
return self.functions[fun](*arg, **kwarg)
|
||||
else:
|
||||
return self.functions[fun](*arg)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user