[CalendarServer-changes] [1605] CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Jun 18 11:28:07 PDT 2007


Revision: 1605
          http://trac.macosforge.org/projects/calendarserver/changeset/1605
Author:   cdaboo at apple.com
Date:     2007-06-18 11:28:06 -0700 (Mon, 18 Jun 2007)

Log Message:
-----------
Exception classes only have a .message attribute in Python 2.5. We need to also support 2.4 right now.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py

Modified: CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py	2007-06-18 18:18:40 UTC (rev 1604)
+++ CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py	2007-06-18 18:28:06 UTC (rev 1605)
@@ -579,7 +579,7 @@
                                 'algorithm=%(algorithm)s') % credentials.fields
                 except KeyError, e:
                     log.err("Open Directory (node=%s) error while performing digest authentication for user %s: missing digest response field: %s in: %s"
-                            % (self.service.realmName, self.shortName, e.message, credentials.fields))
+                            % (self.service.realmName, self.shortName, e, credentials.fields))
                     return False
 
                 return opendirectory.authenticateUserDigest(

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070618/94dce384/attachment.html


More information about the calendarserver-changes mailing list