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

@@ -32,7 +32,7 @@ def get_directory_modules_for_name(mods, name):
"""
def check_python_file(path):
try:
return cache.module_cache[path].parser.module
return cache.parser_cache[path].parser.module
except KeyError:
try:
return check_fs(path)