equal
deleted
inserted
replaced
924 return len(req.execute(self.rql, {'x': rset[row][col], |
924 return len(req.execute(self.rql, {'x': rset[row][col], |
925 'u': req.user.eid}, 'x')) |
925 'u': req.user.eid}, 'x')) |
926 except Unauthorized: |
926 except Unauthorized: |
927 return 0 |
927 return 0 |
928 |
928 |
|
929 def __repr__(self): |
|
930 return u'<rql_condition "%s" at %x>' % (self.rql, id(self)) |
929 |
931 |
930 class but_etype(EntitySelector): |
932 class but_etype(EntitySelector): |
931 """accept if the given entity types are not found in the result set. |
933 """accept if the given entity types are not found in the result set. |
932 |
934 |
933 See `EntitySelector` documentation for behaviour when row is not specified. |
935 See `EntitySelector` documentation for behaviour when row is not specified. |