changeset 11167 | e7514e949ad8 |
parent 11129 | 97095348b3ee |
child 11271 | fd177546bbea |
--- a/cubicweb/entity.py Thu Feb 18 09:24:43 2016 +0100 +++ b/cubicweb/entity.py Thu Feb 25 09:28:21 2016 +0100 @@ -547,7 +547,7 @@ self.e_schema, self.eid, list(self.cw_attr_cache), id(self)) def __lt__(self, other): - raise NotImplementedError('comparison not implemented for %s' % self.__class__) + return NotImplemented def __eq__(self, other): if isinstance(self.eid, integer_types):