mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Remove unnecessary ZMQ extra-check for cache utils
This commit is contained in:
parent
c8f2cc271d
commit
e2a353cfb0
@ -18,11 +18,7 @@ import salt.utils.dictupdate
|
|||||||
|
|
||||||
# Import third party libs
|
# Import third party libs
|
||||||
from salt.ext.six.moves import range # pylint: disable=import-error,redefined-builtin
|
from salt.ext.six.moves import range # pylint: disable=import-error,redefined-builtin
|
||||||
try:
|
from salt.utils.zeromq import zmq
|
||||||
import zmq
|
|
||||||
HAS_ZMQ = True
|
|
||||||
except ImportError:
|
|
||||||
HAS_ZMQ = False
|
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user