merged module_cache into parser_cache
This commit is contained in:
1 parent
21ae8e4266
commit
2efb93273a
5 files changed
+19
-23
No files matched your search
+1
-1
@@ -64,7 +64,7 @@ class ModuleWithCursor(Module):
|
||||
""" get the parser lazy """
|
||||
if not self._parser:
|
||||
try:
|
||||
parser = cache.module_cache[self.path].parser
|
||||
parser = cache.parser_cache[self.path].parser
|
||||
cache.invalidate_star_import_cache(parser.module)
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
Reference in new issue
Block a user