This commit is contained in:
David Halter committed 2012-10-21 14:33:14 +02:00
1 parent 51cfb43716
commit 99739754ef
4 files changed
+11 -4

No files matched your search

+2 -1
View File
@@ -70,7 +70,8 @@ class ModuleWithCursor(Module):
self._parser = parsing.PyFuzzyParser(self.source, self.path,
self.position)
if self.path is not None:
builtin.CachedModule.cache[self.path] = time.time(), self._parser
builtin.CachedModule.cache[self.path] = time.time(), \
self._parser
return self._parser
def get_path_until_cursor(self):