提交 be624da5 编写于 作者: L Lucas Meneghel Rodrigues

Merge pull request #888 from lmr/fix-remote-bug

avocado.core.remoter: Fix error on exception reference
......@@ -26,10 +26,12 @@ LOG = logging.getLogger('avocado.test')
try:
import fabric.api
import fabric.network
import fabric.operations
except ImportError:
REMOTE_CAPABLE = False
LOG.info('Remote module is disabled: could not import fabric')
fabric = None
else:
REMOTE_CAPABLE = True
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册