forked from VimPlug/jedi
forgot to move two function calls in the last commit
This commit is contained in:
@@ -13,7 +13,6 @@ import common
|
||||
import debug
|
||||
import parsing
|
||||
import fast_parser
|
||||
import imports
|
||||
import evaluate
|
||||
|
||||
|
||||
@@ -57,7 +56,7 @@ class CachedModule(object):
|
||||
# In case there is already a module cached and this module
|
||||
# has to be reparsed, we also need to invalidate the import
|
||||
# caches.
|
||||
imports.invalidate_star_import_cache(parser.module)
|
||||
cache.invalidate_star_import_cache(parser.module)
|
||||
raise KeyError()
|
||||
except KeyError:
|
||||
self._load_module()
|
||||
|
||||
@@ -14,7 +14,6 @@ import fast_parser
|
||||
import builtin
|
||||
import debug
|
||||
import settings
|
||||
import imports
|
||||
|
||||
|
||||
class Module(builtin.CachedModule):
|
||||
@@ -64,7 +63,7 @@ class ModuleWithCursor(Module):
|
||||
if not self._parser:
|
||||
try:
|
||||
ts, parser = builtin.CachedModule.cache[self.path]
|
||||
imports.invalidate_star_import_cache(parser.module)
|
||||
cache.invalidate_star_import_cache(parser.module)
|
||||
|
||||
del builtin.CachedModule.cache[self.path]
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user