1
0
forked from VimPlug/jedi

merged module_cache into parser_cache

This commit is contained in:
David Halter
2013-01-11 23:19:22 +01:00
parent 21ae8e4266
commit 2efb93273a
5 changed files with 19 additions and 23 deletions

View File

@@ -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