author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Fri, 28 Aug 2009 14:15:00 +0200 | |
branch | stable |
changeset 3047 | ba86b1bdbcab |
parent 3045 | 82e0b12054a8 |
child 3049 | cb13d9b6c29e |
--- a/entity.py Thu Aug 27 20:22:51 2009 +0200 +++ b/entity.py Fri Aug 28 14:15:00 2009 +0200 @@ -315,7 +315,7 @@ def __hash__(self): return id(self) - def __cmp__(self): + def __cmp__(self, other): raise NotImplementedError('comparison not implemented for %s' % self.__class__) def pre_add_hook(self):