[CalendarServer-changes] [4851] CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Dec 10 11:15:37 PST 2009
Revision: 4851
http://trac.macosforge.org/projects/calendarserver/changeset/4851
Author: sagen at apple.com
Date: 2009-12-10 11:15:35 -0800 (Thu, 10 Dec 2009)
Log Message:
-----------
Restrict the nodes we're waiting for to only those in /Search path (or the single node specified in the plist)
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
Modified: CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py 2009-12-10 18:59:14 UTC (rev 4850)
+++ CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py 2009-12-10 19:15:35 UTC (rev 4851)
@@ -760,7 +760,9 @@
"""
if self.node == "/Search":
- nodes = opendirectory.listNodes(self.directory)
+ result = opendirectory.getNodeAttributes(self.directory, "/Search",
+ (dsattributes.kDS1AttrSearchPath,))
+ nodes = result[dsattributes.kDS1AttrSearchPath]
else:
nodes = [self.node]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091210/fbd09803/attachment.html>
More information about the calendarserver-changes
mailing list