[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 12:35:12 EDT 2007


Log message for revision 77578:
  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 16:28:02 UTC (rev 77577)
+++ zope.app.undo/branches/nikhil_n-py25/src/zope/app/undo/__init__.py	2007-07-07 16:35:12 UTC (rev 77578)
@@ -88,7 +88,7 @@
                 return True
             return False
         except AttributeError:
-            if other and unicode(other[:len(self)]).__eq__(self) == 1:
+            if other and unicode(other[:len(self)]).__eq__(self):
                 return True
             return False
 



More information about the Checkins mailing list