!534 deps_guard 优化,用空格突出关键字和重要信息

Merge pull request !534 from 严学舟/master
This commit is contained in:
openharmony_ci 2024-11-15 01:49:46 +00:00 committed by Gitee
commit d780ecf05e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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