basic pickle implementation #102

This commit is contained in:
David Halter
2013-01-11 22:00:03 +01:00
parent c923c93ccc
commit 1017db903c
7 changed files with 112 additions and 29 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][1].module
return cache.module_cache[path].parser.module
except KeyError:
try:
return check_fs(path)