[CalendarServer-changes] [569] CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/ directory/directory.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 22 15:04:08 PST 2006


Revision: 569
          http://trac.macosforge.org/projects/calendarserver/changeset/569
Author:   wsanchez at apple.com
Date:     2006-11-22 15:04:08 -0800 (Wed, 22 Nov 2006)

Log Message:
-----------
Don't call super.__eq__()

Modified Paths:
--------------
    CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/directory.py

Modified: CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/directory.py
===================================================================
--- CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/directory.py	2006-11-22 23:03:42 UTC (rev 568)
+++ CalendarServer/branches/users/wsanchez/provisioning-2/twistedcaldav/directory/directory.py	2006-11-22 23:04:08 UTC (rev 569)
@@ -89,7 +89,7 @@
 
     def __cmp__(self, other):
         if not isinstance(other, DirectoryRecord):
-            return super(DirectoryRecord, self).__eq__(other)
+            return NotImplemented
 
         for attr in ("service", "recordType", "shortName", "guid"):
             diff = cmp(getattr(self, attr), getattr(other, attr))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061122/14afbf90/attachment.html


More information about the calendarserver-changes mailing list