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

Merge pull request #399 from ldoktor/wrapper

avocado.plugins.wrapper: Don't activate when not enabled
......@@ -35,8 +35,10 @@ class Wrapper(plugin.Plugin):
self.configured = True
def activate(self, app_args):
view = output.View(app_args=app_args)
try:
if not app_args.wrapper: # Not enabled
return
view = output.View(app_args=app_args)
for wrap in app_args.wrapper:
if ':' not in wrap:
if runtime.WRAP_PROCESS is None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册