changeset 4835 | 13b0b96d7982 |
parent 4643 | 921737d2e3a8 |
child 5174 | 78438ad513ca |
child 5421 | 8167de96c523 |
--- a/hooks/email.py Mon Mar 08 19:02:35 2010 +0100 +++ b/hooks/email.py Tue Mar 09 08:59:43 2010 +0100 @@ -26,7 +26,7 @@ def precommit_event(self): if self.condition(): - self.session.unsafe_execute( + self.session.execute( 'SET X %s Y WHERE X eid %%(x)s, Y eid %%(y)s' % self.rtype, {'x': self.entity.eid, 'y': self.email.eid}, 'x')