merged module_cache into parser_cache

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

No files matched your search

+1 -1
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