[qa] pull-tester: Don't mute zmq ImportError

This commit is contained in:
MarcoFalke 2016-04-09 21:14:18 +02:00
parent 0afac87e81
commit fa05e22e91

View file

@ -45,10 +45,10 @@ if 'ENABLE_ZMQ' not in vars():
if ENABLE_ZMQ: if ENABLE_ZMQ:
try: try:
import zmq import zmq
except ImportError: except ImportError as e:
print("WARNING: \"import zmq\" failed. Setting ENABLE_ZMQ=0. " \ print("WARNING: \"import zmq\" failed. Set ENABLE_ZMQ=0 or " \
"To run zmq tests, see dependency info in /qa/README.md.") "to run zmq tests, see dependency info in /qa/README.md.")
ENABLE_ZMQ=0 raise e
ENABLE_COVERAGE=0 ENABLE_COVERAGE=0