[CalendarServer-changes] [8131] CalendarServer/trunk/twistedcaldav/directory/ldapdirectory.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 28 13:25:18 PDT 2011
Revision: 8131
http://trac.macosforge.org/projects/calendarserver/changeset/8131
Author: sagen at apple.com
Date: 2011-09-28 13:25:17 -0700 (Wed, 28 Sep 2011)
Log Message:
-----------
Don't alter the directory service's list of recordTypes
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/ldapdirectory.py
Modified: CalendarServer/trunk/twistedcaldav/directory/ldapdirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/ldapdirectory.py 2011-09-28 18:05:43 UTC (rev 8130)
+++ CalendarServer/trunk/twistedcaldav/directory/ldapdirectory.py 2011-09-28 20:25:17 UTC (rev 8131)
@@ -891,7 +891,9 @@
self.log_debug("Peforming principal property search for %s" % (fields,))
if recordType is None:
- recordTypes = self.recordTypes()
+ # Make a copy since we're modifying it
+ recordTypes = list(self.recordTypes())
+
# principal-property-search syntax doesn't provide a way to ask
# for 3 of the 4 types (either all types or a single type). This
# is wasteful in the case of iCal looking for event attendees
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110928/13655cb4/attachment-0001.html>
More information about the calendarserver-changes
mailing list