1
0
forked from VimPlug/jedi

Reenable star import caching.

This commit is contained in:
Dave Halter
2014-12-15 15:19:22 +01:00
parent 24cfa62c8a
commit f2d35c3ff1
4 changed files with 6 additions and 7 deletions

View File

@@ -166,9 +166,9 @@ def memoize(func):
def cache_star_import(func):
@time_cache("star_import_cache_validity")
def wrapper(evaluator, scope, *args, **kwargs):
yield scope # The cache key
yield func(evaluator, scope, *args, **kwargs)
def wrapper(self):
yield self.base # The cache key
yield func(self)
return wrapper