mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
commit
96b35c5548
@ -14,7 +14,6 @@ import os
|
||||
import logging
|
||||
from threading import Thread, Event
|
||||
import multiprocessing
|
||||
import zmq
|
||||
import signal
|
||||
# Import salt libs
|
||||
import salt.log
|
||||
@ -26,6 +25,13 @@ import salt.payload
|
||||
from salt.exceptions import SaltException
|
||||
import salt.config
|
||||
|
||||
# Import third party libs
|
||||
try:
|
||||
import zmq
|
||||
HAS_ZMQ = True
|
||||
except ImportError:
|
||||
HAS_ZMQ = False
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user