forked from VimPlug/jedi
renaming again, should be a little bit better. but some things are commented.
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ class CachedModule(object):
|
||||
if not self._parser:
|
||||
try:
|
||||
timestamp, parser = self.cache[self.path or self.name]
|
||||
if not self.path or timestamp == os.path.getmtime(self.path):
|
||||
if not self.path or os.path.getmtime(self.path) <= timestamp:
|
||||
self._parser = parser
|
||||
else:
|
||||
raise KeyError()
|
||||
|
||||
Reference in New Issue
Block a user