1
0
forked from VimPlug/jedi

renaming again, should be a little bit better. but some things are commented.

This commit is contained in:
David Halter
2012-09-20 17:27:00 +02:00
parent ea53d07238
commit 0e5a70a2db
4 changed files with 35 additions and 3 deletions
+1 -1
View File
@@ -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()