Revert "Remove some un-used variables"

This reverts commit 22ed10108e.
This commit is contained in:
Erik Johnson 2014-12-04 14:29:56 -06:00
parent 32d01ee6c6
commit 82b5567c92

View File

@ -253,7 +253,7 @@ class SaltEvent(object):
mtag = raw[0:20].rstrip('|')
mdata = raw[20:]
else: # new style
mtag, _, mdata = raw.partition(TAGEND) # split tag from data
mtag, sep, mdata = raw.partition(TAGEND) # split tag from data
data = serial.loads(mdata)
return mtag, data
@ -729,7 +729,7 @@ class ReactWrap(object):
cmd = local
def runner(self, _, **kwargs):
def runner(self, fun, **kwargs):
'''
Wrap RunnerClient for executing :ref:`runner modules <all-salt.runners>`
'''
@ -737,7 +737,7 @@ class ReactWrap(object):
self.client_cache['runner'] = salt.runner.RunnerClient(self.opts)
self.pool.fire_async(self.client_cache['runner'].low, kwargs)
def wheel(self, _, **kwargs):
def wheel(self, fun, **kwargs):
'''
Wrap Wheel to enable executing :ref:`wheel modules <all-salt.wheel>`
'''