Remove unnecessary ZMQ extra-check for cache utils

This commit is contained in:
Bo Maryniuk 2018-02-13 14:20:46 +01:00
parent c8f2cc271d
commit e2a353cfb0

View File

@ -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__)