# HG changeset patch # User Alexandre Richardson # Date 1329133789 -3600 # Node ID 884405bf3621a21df2a5f82ed718595b34aaf654 # Parent a3d3bdd464635a1533bdad4bd1444d30c4271e3d [email notifications] send notification at post-commit time (closes #2119248) diff -r a3d3bdd46463 -r 884405bf3621 hooks/notification.py --- a/hooks/notification.py Mon Feb 13 12:47:59 2012 +0100 +++ b/hooks/notification.py Mon Feb 13 12:49:49 2012 +0100 @@ -30,7 +30,7 @@ """delay rendering of notification view until precommit""" view = None # make pylint happy - def precommit_event(self): + def postcommit_event(self): view = self.view if view.cw_rset is not None and not view.cw_rset: return # entity added and deleted in the same transaction (cache effect)