mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
minor pylint fixes for minion.py
This commit is contained in:
parent
3092b5497f
commit
02acb0890a
@ -23,7 +23,7 @@ import zmq
|
||||
# Import salt libs
|
||||
from salt.exceptions import AuthenticationError, \
|
||||
CommandExecutionError, CommandNotFoundError, SaltInvocationError, \
|
||||
SaltClientError, SaltReqTimeoutError
|
||||
SaltReqTimeoutError
|
||||
import salt.client
|
||||
import salt.crypt
|
||||
import salt.loader
|
||||
@ -639,7 +639,6 @@ class Minion(object):
|
||||
if socket in socks and socks[socket] == zmq.POLLIN:
|
||||
payload = self.serial.loads(socket.recv())
|
||||
self._handle_payload(payload)
|
||||
last = time.time()
|
||||
time.sleep(0.05)
|
||||
multiprocessing.active_children()
|
||||
self.passive_refresh()
|
||||
|
Loading…
Reference in New Issue
Block a user