changeset 5174 | 78438ad513ca |
parent 4835 | 13b0b96d7982 |
child 5423 | e15abfdcce38 |
--- a/hooks/email.py Wed Apr 07 09:24:00 2010 +0200 +++ b/hooks/email.py Wed Apr 07 14:26:35 2010 +0200 @@ -28,7 +28,7 @@ if self.condition(): 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') + {'x': self.entity.eid, 'y': self.email.eid}) class SetPrimaryEmailRelationOp(SetUseEmailRelationOp):