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

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 9 11:38:28 PDT 2007


Revision: 1775
          http://trac.macosforge.org/projects/calendarserver/changeset/1775
Author:   wsanchez at apple.com
Date:     2007-08-09 11:38:28 -0700 (Thu, 09 Aug 2007)

Log Message:
-----------
Syntax error

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

Modified: CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py	2007-08-08 23:55:30 UTC (rev 1774)
+++ CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py	2007-08-09 18:38:28 UTC (rev 1775)
@@ -523,7 +523,7 @@
                 autoSchedule          = autoSchedule,
                 proxyGUIDs            = proxyGUIDs,
             )
-            records[recordShortName] = guids[guid] record
+            records[recordShortName] = guids[guid] = record
 
             #log.debug("Populated record: %s" % (records[recordShortName],))
 
@@ -556,8 +556,8 @@
             #
             assert len(records) == 1, "shortName = %r, records = %r" % (shortName, len(records))
             storage = self._records[recordType]
-            storage["records"][shortName] = records[recordShortName]
-            storage["guids"][record.guid] = records[recordShortName]
+            storage["records"][shortName] = record
+            storage["guids"][record.guid] = record
 
 class OpenDirectoryRecord(DirectoryRecord):
     """

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


More information about the calendarserver-changes mailing list