提交 89ee3573 编写于 作者: D deveco_test

修复代码扫描错误

Signed-off-by: Ndeveco_test <liguangjie1@huawei.com>
上级 c064f4b2
......@@ -93,7 +93,8 @@ def perform_device_action(func):
self.log.exception("error type: %s, error: %s" % (
error.__class__.__name__, error), exc_info=False)
exception = error
raise exception
if exception:
raise exception
return device_action
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册