entity.py
changeset 3072 6fb42c53f6df
parent 3023 7864fee8b4ec
parent 3050 f4c1994a749d
child 3163 edfe43ceaa35
--- a/entity.py	Thu Aug 27 13:02:45 2009 +0200
+++ b/entity.py	Mon Aug 31 19:09:54 2009 +0200
@@ -209,7 +209,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):