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
|
# Import salt libs
|
||||||
from salt.exceptions import AuthenticationError, \
|
from salt.exceptions import AuthenticationError, \
|
||||||
CommandExecutionError, CommandNotFoundError, SaltInvocationError, \
|
CommandExecutionError, CommandNotFoundError, SaltInvocationError, \
|
||||||
SaltClientError, SaltReqTimeoutError
|
SaltReqTimeoutError
|
||||||
import salt.client
|
import salt.client
|
||||||
import salt.crypt
|
import salt.crypt
|
||||||
import salt.loader
|
import salt.loader
|
||||||
@ -639,7 +639,6 @@ class Minion(object):
|
|||||||
if socket in socks and socks[socket] == zmq.POLLIN:
|
if socket in socks and socks[socket] == zmq.POLLIN:
|
||||||
payload = self.serial.loads(socket.recv())
|
payload = self.serial.loads(socket.recv())
|
||||||
self._handle_payload(payload)
|
self._handle_payload(payload)
|
||||||
last = time.time()
|
|
||||||
time.sleep(0.05)
|
time.sleep(0.05)
|
||||||
multiprocessing.active_children()
|
multiprocessing.active_children()
|
||||||
self.passive_refresh()
|
self.passive_refresh()
|
||||||
|
Loading…
Reference in New Issue
Block a user