提交 b35d7be9 编写于 作者: R Rudá Moura 提交者: Ruda Moura

avocado.plugins.manager: Fix wrong variable to log.

Fix the variable to display in log when an external plugin fails
to load.
Signed-off-by: NRuda Moura <rmoura@redhat.com>
上级 631319b4
......@@ -97,7 +97,7 @@ class ExternalPluginManager(PluginManager):
try:
mod = imp.load_module(candidate[0], *candidate[1])
except Exception as err:
log.error("Could not load plugin '%s': %s", mod, err)
log.error("Could not load plugin '%s': %s", candidate[0], err)
else:
for name in mod.__dict__:
x = getattr(mod, name)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册