forgot some fragments of CachedModule.cache
This commit is contained in:
1 parent
67f7e66cc6
commit
8987ecf3a8
3 files changed
+5
-7
No files matched your search
+1
-2
@@ -16,7 +16,6 @@ import evaluate
|
||||
import helpers
|
||||
import settings
|
||||
import debug
|
||||
import builtin
|
||||
import imports
|
||||
import api_classes
|
||||
import fast_parser
|
||||
@@ -33,7 +32,7 @@ def get_directory_modules_for_name(mods, name):
|
||||
"""
|
||||
def check_python_file(path):
|
||||
try:
|
||||
return builtin.CachedModule.cache[path][1].module
|
||||
return cache.module_cache[path][1].module
|
||||
except KeyError:
|
||||
try:
|
||||
return check_fs(path)
|
||||
|
||||
Reference in new issue
Block a user