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

Added comment to clarify a point raised by Pascal in review 1699

上级 5d947b88
...@@ -846,7 +846,12 @@ class ModuleCache(object): ...@@ -846,7 +846,12 @@ class ModuleCache(object):
key_pkl=key_pkl, key_pkl=key_pkl,
entry=name) entry=name)
if _version: # save the key # Note that we only save KeyData objects associated to
# versioned modules. So for unversioned key, the
# `key_pkl` field of the KeyData object will be a
# non-existing file (which does not matter since it
# will not be accessed).
if _version:
try: try:
key_data.save_pkl() key_data.save_pkl()
key_broken = False key_broken = False
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论