提交 d47333ed authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Added more debug info to some calls to _rmtree

上级 25b4ef98
...@@ -798,7 +798,8 @@ class ModuleCache(object): ...@@ -798,7 +798,8 @@ class ModuleCache(object):
key_broken = True key_broken = True
# We can delete the work directory. # We can delete the work directory.
_rmtree(location, ignore_nocleanup=True) _rmtree(location, ignore_nocleanup=True,
msg='temporary workdir of duplicated module')
else: else:
# Will fail if there is an error compiling the C code. # Will fail if there is an error compiling the C code.
...@@ -880,7 +881,8 @@ class ModuleCache(object): ...@@ -880,7 +881,8 @@ class ModuleCache(object):
# directory, as it may cause trouble if we create too many of # directory, as it may cause trouble if we create too many of
# these. The 'ignore_if_missing' flag is set just in case this # these. The 'ignore_if_missing' flag is set just in case this
# directory would have already been deleted. # directory would have already been deleted.
_rmtree(location, ignore_if_missing=True) _rmtree(location, ignore_if_missing=True,
msg='exception -- typically means no C implementation')
raise raise
finally: finally:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论