提交 542dd034 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Indent fix

上级 d7aff293
...@@ -475,7 +475,7 @@ class ModuleCache(object): ...@@ -475,7 +475,7 @@ class ModuleCache(object):
# not necessarily broken. # not necessarily broken.
pass pass
continue continue
if not isinstance(key_data, KeyData): if not isinstance(key_data, KeyData):
# This is some old cache data, that does not fit # This is some old cache data, that does not fit
# the new cache format. It would be possible to # the new cache format. It would be possible to
...@@ -658,7 +658,7 @@ class ModuleCache(object): ...@@ -658,7 +658,7 @@ class ModuleCache(object):
# Obtain path to the '.so' module file. # Obtain path to the '.so' module file.
name = module.__file__ name = module.__file__
debug("Adding module to cache", key, name) debug("Adding module to cache", key, name)
assert name.startswith(location) assert name.startswith(location)
assert name not in self.module_from_name assert name not in self.module_from_name
...@@ -828,7 +828,7 @@ class ModuleCache(object): ...@@ -828,7 +828,7 @@ class ModuleCache(object):
def clear_unversioned(self, min_age=None): def clear_unversioned(self, min_age=None):
""" """
Delete unversioned dynamic modules. Delete unversioned dynamic modules.
They are deleted both from the internal dictionaries and from the They are deleted both from the internal dictionaries and from the
filesystem. filesystem.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论