修复代码扫描错误

Signed-off-by: deveco_test <liguangjie1@huawei.com>
This commit is contained in:
deveco_test
2022-05-21 16:01:47 +08:00
parent 93d48ca5dc
commit f8d7e63afc
@@ -93,8 +93,6 @@ def perform_device_action(func):
self.log.exception("error type: %s, error: %s" % (
error.__class__.__name__, error), exc_info=False)
exception = error
if exception:
raise exception
return device_action