#issue:IB4GA6 deps_guard 优化,用空格突出关键字和重要信息

Signed-off-by: xuezhou_yan <yangang20@huawei.com>
This commit is contained in:
xuezhou_yan 2024-11-14 19:33:58 +08:00
parent d1326d9f00
commit 901e335fbf

View File

@ -94,7 +94,7 @@ class ChipsetSDKRule(BaseRule):
so_file_name = so.get("so_file_name")
if so_file_name and so_file_name not in res:
res.append(so_file_name)
except(FileNotFoundError, IOError, UnicodeDecodeError) as file_open_or_decode_err:
except (FileNotFoundError, IOError, UnicodeDecodeError) as file_open_or_decode_err:
self.error(file_open_or_decode_err)
return res