未验证 提交 99c4d6d8 编写于 作者: A Amador Pahim

Merge branch 'chunfuwen-python3_fix_avocado-vt_bootstrap_issue_due_to_none_type'

Signed-off-by: NAmador Pahim <apahim@redhat.com>
......@@ -231,7 +231,8 @@ class _TmpDirTracker(Borg):
try:
if os.path.isdir(tmp_dir):
shutil.rmtree(tmp_dir)
except AttributeError:
# Need catch AttributeError and TypeError.
except (AttributeError, TypeError):
pass
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册