[Checkins] SVN: lovely.rating/trunk/src/lovely/rating/rating.py fix the fix ; -)

Bernd Dorn bernd.dorn at lovelysystems.com
Mon Feb 26 01:44:18 EST 2007


Log message for revision 72809:
  fix the fix ;-)

Changed:
  U   lovely.rating/trunk/src/lovely/rating/rating.py

-=-
Modified: lovely.rating/trunk/src/lovely/rating/rating.py
===================================================================
--- lovely.rating/trunk/src/lovely/rating/rating.py	2007-02-26 06:42:46 UTC (rev 72808)
+++ lovely.rating/trunk/src/lovely/rating/rating.py	2007-02-26 06:44:18 UTC (rev 72809)
@@ -43,6 +43,6 @@
 
     def __cmp__(self, other):
         if not isinstance(other, Rating):
-            return cmp(super(Rating, self), (other))
+            return cmp(super(Rating, self), other)
         return cmp((self.id, self.value, self.user),
                    (other.id, other.value, other.user))



More information about the Checkins mailing list