[CalendarServer-changes] [9001] CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav /directory/ldapdirectorybacker.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Apr 9 17:29:13 PDT 2012
Revision: 9001
http://trac.macosforge.org/projects/calendarserver/changeset/9001
Author: gaya at apple.com
Date: 2012-04-09 17:29:13 -0700 (Mon, 09 Apr 2012)
Log Message:
-----------
fix comments
Modified Paths:
--------------
CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/ldapdirectorybacker.py
Modified: CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/ldapdirectorybacker.py
===================================================================
--- CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/ldapdirectorybacker.py 2012-04-10 00:07:41 UTC (rev 9000)
+++ CalendarServer/branches/users/gaya/ldapdirectorybacker/twistedcaldav/directory/ldapdirectorybacker.py 2012-04-10 00:29:13 UTC (rev 9001)
@@ -44,6 +44,7 @@
class LdapDirectoryBackingService(LdapDirectoryService):
"""
+ Directory backer for L{LdapDirectoryService}.
"""
node="/Search"
@@ -157,6 +158,9 @@
def _ldapAttributesForAddressBookQuery(self, addressBookQuery, ldapAttrToDSAttrMap ):
+ """
+ Get ldap attributes needed by an address book query
+ """
etagRequested, propertyNames = propertiesInAddressBookQuery( addressBookQuery )
@@ -186,7 +190,7 @@
@inlineCallbacks
def _getLdapQueryResults(self, base, queryStr, attributes=None, maxResults=0, ldapAttrToDSAttrMap={} ):
"""
- Get a list of filtered ABDirectoryQueryResult for the given query with the given attributes.
+ Get a list of ABDirectoryQueryResult for the given query with the given attributes.
query == None gets all records. attribute == None gets ABDirectoryQueryResult.allDSQueryAttributes
"""
limited = False
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120409/1024b171/attachment-0001.html>
More information about the calendarserver-changes
mailing list