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

source_changes at macosforge.org source_changes at macosforge.org
Fri Jan 11 13:17:41 PST 2008


Revision: 2105
          http://trac.macosforge.org/projects/calendarserver/changeset/2105
Author:   wsanchez at apple.com
Date:     2008-01-11 13:17:40 -0800 (Fri, 11 Jan 2008)

Log Message:
-----------
uri is a string key, not a variable

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

Modified: CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py	2008-01-11 20:27:40 UTC (rev 2104)
+++ CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py	2008-01-11 21:17:40 UTC (rev 2105)
@@ -800,7 +800,7 @@
                 return False
 
             try:
-                if self.digestcache[credentials.fields[uri]] == response:
+                if self.digestcache[credentials.fields["uri"]] == response:
                     return True
             except (AttributeError, KeyError):
                 pass
@@ -819,7 +819,7 @@
                     except AttributeError:
                         cache = self.digestcache = {}
 
-                    cache[credentials.fields[uri]] = response
+                    cache[credentials.fields["uri"]] = response
 
                     return True
             except opendirectory.ODError, e:

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


More information about the calendarserver-changes mailing list