selectors.py
changeset 1887 7e19c94ce0d7
parent 1784 f0fb914e57db
child 1909 58374d1f6d9b
--- a/selectors.py	Wed May 20 22:28:45 2009 +0200
+++ b/selectors.py	Thu May 21 00:42:05 2009 +0200
@@ -926,6 +926,8 @@
         except Unauthorized:
             return 0
 
+    def __repr__(self):
+        return u'<rql_condition "%s" at %x>' % (self.rql, id(self))
 
 class but_etype(EntitySelector):
     """accept if the given entity types are not found in the result set.