hooks/metadata.py
branchstable
changeset 7879 9aae456abab5
parent 7708 45be3a9debe6
child 8190 2a3c1b787688
--- a/hooks/metadata.py	Tue Sep 27 16:04:30 2011 +0200
+++ b/hooks/metadata.py	Wed Sep 28 09:27:42 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