fix bad ref to **kwargs

This commit is contained in:
Thomas S Hatch 2013-01-14 21:20:02 -07:00
parent 3de2690a0f
commit e2648cf030

View File

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