[Checkins] SVN: zope.app.undo/branches/nikhil_n-py25/src/zope/app/undo/__init__.py made zope.app.undo work with Python 2.5

nikhil n nikhil.n.n at gmail.com
Sat Jul 7 11:30:38 EDT 2007


Log message for revision 77573:
  made zope.app.undo work with Python 2.5

Changed:
  U   zope.app.undo/branches/nikhil_n-py25/src/zope/app/undo/__init__.py

-=-
Modified: zope.app.undo/branches/nikhil_n-py25/src/zope/app/undo/__init__.py
===================================================================
--- zope.app.undo/branches/nikhil_n-py25/src/zope/app/undo/__init__.py	2007-07-07 15:26:27 UTC (rev 77572)
+++ zope.app.undo/branches/nikhil_n-py25/src/zope/app/undo/__init__.py	2007-07-07 15:30:37 UTC (rev 77573)
@@ -84,7 +84,7 @@
     """
     def __eq__(self, other):
         try:
-            if other and unicode(other[:len(self)]).__cmp__(self) == 1:
+            if other and unicode(other[:len(self)]).__cmp__(self) == 0:
                 return True
             return False
         except AttributeError:



More information about the Checkins mailing list