entity.py
branchstable
changeset 3047 ba86b1bdbcab
parent 3000 4e76477949d5
child 3050 f4c1994a749d
child 3130 2486163c4630
--- 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):