author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Mon, 15 Feb 2010 15:22:01 +0100 | |
branch | stable |
changeset 4584 | eef17cfcfa9c |
parent 4583 | 356f08325072 |
child 4585 | 912aba7e6400 |
--- a/hooks/notification.py Mon Feb 15 15:20:45 2010 +0100 +++ b/hooks/notification.py Mon Feb 15 15:22:01 2010 +0100 @@ -126,7 +126,7 @@ rqlsel.append(var) rqlrestr.append('X %s %s' % (attr, var)) rql = 'Any %s WHERE %s' % (','.join(rqlsel), ','.join(rqlrestr)) - rset = session.execute(rql, {'x': self.entity.eid}, 'x') + rset = session.unsafe_execute(rql, {'x': self.entity.eid}, 'x') for i, attr in enumerate(attrs): oldvalue = rset[0][i] newvalue = self.entity[attr]