Remove some un-used variables

This commit is contained in:
Thomas Jackson 2014-11-19 08:13:24 -08:00
parent 0b19ec7385
commit 22ed10108e

View File

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