提交 4af517e6 authored 作者: James Bergstra's avatar James Bergstra

downgraded warning() about unpicklable key to info() in cmodule

上级 3211b7ad
...@@ -292,7 +292,7 @@ class ModuleCache(object): ...@@ -292,7 +292,7 @@ class ModuleCache(object):
try: try:
key = cPickle.load(file(key_pkl)) key = cPickle.load(file(key_pkl))
except: except:
warning("ModuleCache.refresh() Failed to unpickle cache key", key_pkl) info("ModuleCache.refresh() Failed to unpickle cache key", key_pkl)
if 0: if 0:
info("Erasing broken cache directory", key_pkl) info("Erasing broken cache directory", key_pkl)
shutil.rmtree(root) shutil.rmtree(root)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论