author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 24 Mar 2010 13:51:52 +0100 | |
branch | stable |
changeset 4991 | 16f0cec3d008 |
parent 4990 | 3bf481cf51cb |
child 4992 | 398cc8b39aec |
--- a/entity.py Wed Mar 24 13:40:53 2010 +0100 +++ b/entity.py Wed Mar 24 13:51:52 2010 +0100 @@ -889,8 +889,8 @@ else: restr = 'X %s Y' % attr if values is None: - execute('DELETE %s WHERE X eid %%(x)s' % restr, - {'x': self.eid}, 'x') + self._cw.execute('DELETE %s WHERE X eid %%(x)s' % restr, + {'x': self.eid}, 'x') continue if not isinstance(values, (tuple, list, set, frozenset)): values = (values,)