提交 be9f6f4e authored 作者: David Warde-Farley's avatar David Warde-Farley

Merge pull request #84 from delallea/warning_old_cache

Deprecated cache entries now trigger a warning
...@@ -577,7 +577,11 @@ class ModuleCache(object): ...@@ -577,7 +577,11 @@ class ModuleCache(object):
# As a result, we delete it instead (which is also # As a result, we delete it instead (which is also
# simpler to implement). # simpler to implement).
_rmtree(root, ignore_nocleanup=True, _rmtree(root, ignore_nocleanup=True,
msg='deprecated cache entry') msg=(
'invalid cache entry format -- this '
'should not happen unless your cache '
'was really old'),
level=logging.WARN)
continue continue
# Check the path to the module stored in the KeyData # Check the path to the module stored in the KeyData
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论