diff -r be04706eacc9 -r 9aae456abab5 hooks/notification.py --- a/hooks/notification.py Tue Sep 27 16:04:30 2011 +0200 +++ b/hooks/notification.py Wed Sep 28 09:27:42 2011 +0200 @@ -28,6 +28,8 @@ class RenderAndSendNotificationView(hook.Operation): """delay rendering of notification view until precommit""" + view = None # make pylint happy + def precommit_event(self): view = self.view if view.cw_rset is not None and not view.cw_rset: