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

Fixed non-working debug messages when deleting cache entries

上级 3edf160d
...@@ -890,7 +890,7 @@ def _rmtree(parent, ignore_nocleanup=False, msg='', level='debug'): ...@@ -890,7 +890,7 @@ def _rmtree(parent, ignore_nocleanup=False, msg='', level='debug'):
if ignore_nocleanup or not config.nocleanup: if ignore_nocleanup or not config.nocleanup:
log_msg = 'Deleting' log_msg = 'Deleting'
if msg: if msg:
log_msg += ' (%s)' log_msg += ' (%s)' % msg
eval(level)('%s: %s' % (log_msg, parent)) eval(level)('%s: %s' % (log_msg, parent))
shutil.rmtree(parent) shutil.rmtree(parent)
except Exception, e: except Exception, e:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论