[CalendarServer-changes] [13002] twext/trunk/twext/who/idirectory.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 26 10:59:15 PDT 2014
Revision: 13002
http://trac.calendarserver.org//changeset/13002
Author: gaya at apple.com
Date: 2014-03-26 10:59:15 -0700 (Wed, 26 Mar 2014)
Log Message:
-----------
white-space cleanup for pep compliance
Modified Paths:
--------------
twext/trunk/twext/who/idirectory.py
Modified: twext/trunk/twext/who/idirectory.py
===================================================================
--- twext/trunk/twext/who/idirectory.py 2014-03-26 17:57:33 UTC (rev 13001)
+++ twext/trunk/twext/who/idirectory.py 2014-03-26 17:59:15 UTC (rev 13002)
@@ -135,7 +135,7 @@
"""
user = NamedConstant()
- user.description = u"user"
+ user.description = u"user"
group = NamedConstant()
group.description = u"group"
@@ -268,7 +268,6 @@
"The name of the authentication realm this service represents."
)
-
def recordTypes():
"""
Get the record types supported by this directory service.
@@ -277,7 +276,6 @@
@rtype: iterable of L{NamedConstant}s
"""
-
def recordsFromExpression(expression):
"""
Find records matching an expression.
@@ -292,7 +290,6 @@
supported by this directory service.
"""
-
def recordsWithFieldValue(fieldName, value):
"""
Find records that have the given field name with the given
@@ -308,7 +305,6 @@
@rtype: deferred iterable of L{IDirectoryRecord}s
"""
-
def recordWithUID(uid):
"""
Find the record that has the given UID.
@@ -320,7 +316,6 @@
@rtype: deferred L{IDirectoryRecord}s or C{None}
"""
-
def recordWithGUID(guid):
"""
Find the record that has the given GUID.
@@ -332,7 +327,6 @@
@rtype: deferred L{IDirectoryRecord}s or C{None}
"""
-
def recordsWithRecordType(recordType):
"""
Find the records that have the given record type.
@@ -344,7 +338,6 @@
@rtype: deferred iterable of L{IDirectoryRecord}s
"""
-
def recordWithShortName(recordType, shortName):
"""
Find the record that has the given record type and short name.
@@ -359,7 +352,6 @@
@rtype: deferred L{IDirectoryRecord}s or C{None}
"""
-
def recordsWithEmailAddress(emailAddress):
"""
Find the records that have the given email address.
@@ -371,7 +363,6 @@
@rtype: deferred iterable of L{IDirectoryRecord}s
"""
-
def updateRecords(records, create=False):
"""
Updates existing directory records.
@@ -389,7 +380,6 @@
directory service.
"""
-
def removeRecords(uids):
"""
Removes the records with the given UIDs.
@@ -436,7 +426,7 @@
"""
service = Attribute("The L{IDirectoryService} this record exists in.")
- fields = Attribute("A mapping with L{NamedConstant} keys.")
+ fields = Attribute("A mapping with L{NamedConstant} keys.")
def members():
@@ -448,7 +438,6 @@
direct members of this group.
"""
-
def groups():
"""
Find the group records that this record is a member of. Only
@@ -459,7 +448,6 @@
groups that this record is a member of.
"""
-
def addMembers(members):
"""
Adds the members to this record.
@@ -468,7 +456,6 @@
@type members: An iterable of L{IDirectoryRecord}s.
"""
-
def removeMembers(members):
"""
Removes the members from this record.
@@ -477,7 +464,6 @@
@type members: An iterable of L{IDirectoryRecord}s.
"""
-
def setMembers(members):
"""
Replaces the current members of this record.
@@ -487,6 +473,7 @@
"""
+
class IPlaintextPasswordVerifier(Interface):
"""
Provides a way to verify a plaintext password as provided by a client.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140326/b5ca2bac/attachment-0001.html>
More information about the calendarserver-changes
mailing list