branch | stable |
changeset 6870 | 658039c5eeac |
parent 6869 | 900cb9b1b687 |
child 6871 | b746dae3a004 |
--- a/selectors.py Thu Jan 20 13:16:30 2011 +0100 +++ b/selectors.py Fri Jan 21 12:51:58 2011 +0100 @@ -1156,8 +1156,8 @@ rql = 'Any COUNT(X) WHERE X eid %%(x)s, %s' % expression self.rql = rql - def __repr__(self): - return u'<rql_condition "%s" at %x>' % (self.rql, id(self)) + def __str__(self): + return '%s(%r)' % (self.__class__.__name__, self.rql) def score(self, req, rset, row, col): try: