未验证 提交 82d4566b 编写于 作者: O openharmony_ci 提交者: Gitee

!480 【OpenHarmony开源贡献者计划2022】 fix: change exeception to exception

Merge pull request !480 from ADAM/master
......@@ -91,10 +91,10 @@ class Patch():
try:
exec_command(cmd, log_path=self.config.log_path,
cwd=src_path, shell=True)
except OHOSException as ohos_exeception:
except OHOSException as ohos_exception:
# Failed to roll back the patch, clear patch cache
self.config.patch_cache = None
raise ohos_exeception
raise ohos_exception
def patch_cache_update(self):
"""Try to update patch cache and Check whether rollback is required
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册