author | Aurelien Campeas <aurelien.campeas@logilab.fr> |
Thu, 28 Mar 2013 15:01:02 +0100 | |
branch | stable |
changeset 8827 | 0d81a474c0fe |
parent 8821 | c4aa23af0baa |
child 8831 | f7e140182df1 |
--- a/web/views/editcontroller.py Thu Mar 28 12:32:26 2013 +0100 +++ b/web/views/editcontroller.py Thu Mar 28 15:01:02 2013 +0100 @@ -77,6 +77,10 @@ self.restrictions = [] self.kwargs = {} + def __repr__(self): + return ('Query <edited=%r restrictions=%r kwargs=%r>' % ( + self.edited, self.restrictions, self.kwargs)) + def insert_query(self, etype): if self.edited: rql = 'INSERT %s X: %s' % (etype, ','.join(self.edited))