[CalendarServer-changes] [7359] CalendarServer/branches/users/cdaboo/pods/twistedcaldav/directory/ appleopendirectory.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Apr 26 12:39:24 PDT 2011


Revision: 7359
          http://trac.macosforge.org/projects/calendarserver/changeset/7359
Author:   cdaboo at apple.com
Date:     2011-04-26 12:39:24 -0700 (Tue, 26 Apr 2011)
Log Message:
-----------
Fix incorrect logic for record type handling.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/pods/twistedcaldav/directory/appleopendirectory.py

Modified: CalendarServer/branches/users/cdaboo/pods/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/branches/users/cdaboo/pods/twistedcaldav/directory/appleopendirectory.py	2011-04-26 01:23:34 UTC (rev 7358)
+++ CalendarServer/branches/users/cdaboo/pods/twistedcaldav/directory/appleopendirectory.py	2011-04-26 19:39:24 UTC (rev 7359)
@@ -616,7 +616,7 @@
             if recordType == DirectoryService.recordType_users:
                 listRecordTypes = [self._toODRecordTypes[recordType]]
 
-            if recordType in (
+            elif recordType in (
                 DirectoryService.recordType_resources,
                 DirectoryService.recordType_locations,
             ):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110426/9762bc96/attachment.html>


More information about the calendarserver-changes mailing list