diff -r 55366f5b7a9f -r a7e40cccdc9b vregistry.py --- a/vregistry.py Tue Jun 01 08:34:35 2010 +0200 +++ b/vregistry.py Wed Jun 02 13:02:47 2010 +0200 @@ -439,6 +439,9 @@ mdate = self._mdate(fileordir) if mdate is None: continue # backup file, see _mdate implementation + elif "flymake" in fileordir: + # flymake + pylint in use, don't consider these they will corrupt the registry + continue if fileordir not in lastmodifs or lastmodifs[fileordir] < mdate: self.info('File %s changed since last visit', fileordir) return True @@ -453,6 +456,9 @@ mdate = self._mdate(filepath) if mdate is None: return # backup file, see _mdate implementation + elif "flymake" in filepath: + # flymake + pylint in use, don't consider these they will corrupt the registry + return # set update time before module loading, else we get some reloading # weirdness in case of syntax error or other error while importing the # module