diff -r 6cebeb1f386a -r ad0eeb0f7a8d hooks/metadata.py --- a/hooks/metadata.py Thu Sep 29 14:07:37 2011 +0200 +++ b/hooks/metadata.py Thu Sep 29 14:47:04 2011 +0200 @@ -150,6 +150,8 @@ # entity source handling ####################################################### class ChangeEntityUpdateCaches(hook.Operation): + oldsource = newsource = entity = None # make pylint happy + def postcommit_event(self): self.oldsource.reset_caches() repo = self.session.repo