[CalendarServer-changes] [9003] CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav /directory
source_changes at macosforge.org
source_changes at macosforge.org
Mon Apr 9 17:41:41 PDT 2012
Revision: 9003
http://trac.macosforge.org/projects/calendarserver/changeset/9003
Author: gaya at apple.com
Date: 2012-04-09 17:41:41 -0700 (Mon, 09 Apr 2012)
Log Message:
-----------
fix comments
Modified Paths:
--------------
CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/opendirectorybacker.py
CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/xmldirectorybacker.py
Modified: CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/opendirectorybacker.py
===================================================================
--- CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/opendirectorybacker.py 2012-04-10 00:41:20 UTC (rev 9002)
+++ CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/opendirectorybacker.py 2012-04-10 00:41:41 UTC (rev 9003)
@@ -62,7 +62,7 @@
class OpenDirectoryBackingService(DirectoryService):
"""
- Open Directory implementation of L{IDirectoryService}.
+ Directory backer for L{IDirectoryService}.
"""
baseGUID = "BF07A1A2-5BB5-4A4D-A59A-67260EA7E143"
@@ -263,7 +263,10 @@
def _getAllDSLocalResults(self):
-
+ """
+ Get a dictionary of ABDirectoryQueryResult by enumerating the local directory
+ """
+
def generateDSLocalResults():
resultsDictionary = {}
@@ -474,7 +477,9 @@
return succeed(allResults)
def _attributesForAddressBookQuery(self, addressBookQuery ):
-
+ """
+ Get dsattributes attributes needed by an address book query
+ """
etagRequested, propertyNames = propertiesInAddressBookQuery( addressBookQuery )
if etagRequested and not self.fakeETag:
@@ -578,6 +583,9 @@
#utility
def propertiesInAddressBookQuery( addressBookQuery ):
+ """
+ Get the vCard properties requested by a given query
+ """
etagRequested = False
propertyNames = []
Modified: CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/xmldirectorybacker.py
===================================================================
--- CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/xmldirectorybacker.py 2012-04-10 00:41:20 UTC (rev 9002)
+++ CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/xmldirectorybacker.py 2012-04-10 00:41:41 UTC (rev 9003)
@@ -44,6 +44,7 @@
class XMLDirectoryBackingService(XMLDirectoryService):
"""
+ Directory backer for L{XMLDirectoryService}.
"""
node="/Search"
@@ -162,7 +163,7 @@
def recordsForDSFilter(dsFilter, recordType):
"""
- Although this exercises the dsFilter expression tree and recordsMatchingFields() it make little difference to the result of
+ recordsForDSFilter() exercises the dsFilter expression tree and recordsMatchingFields() it make little difference to the result of
a addressbook query because of filtering.
"""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120409/51f00214/attachment-0001.html>
More information about the calendarserver-changes
mailing list