1
0
forked from VimPlug/jedi

forgot to move two function calls in the last commit

This commit is contained in:
David Halter
2012-12-22 01:43:29 +01:00
parent 0d6d84402d
commit a2e05c215a
2 changed files with 2 additions and 4 deletions

View File

@@ -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()

View File

@@ -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: