[CalendarServer-changes] [12368] twext/trunk/twext/who/ldap/_constants.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:20:26 PDT 2014
Revision: 12368
http://trac.calendarserver.org//changeset/12368
Author: wsanchez at apple.com
Date: 2014-01-16 18:59:50 -0800 (Thu, 16 Jan 2014)
Log Message:
-----------
Add LDAPOperand, LDAPMatchFlags
Modified Paths:
--------------
twext/trunk/twext/who/ldap/_constants.py
Modified: twext/trunk/twext/who/ldap/_constants.py
===================================================================
--- twext/trunk/twext/who/ldap/_constants.py 2014-01-17 02:41:24 UTC (rev 12367)
+++ twext/trunk/twext/who/ldap/_constants.py 2014-01-17 02:59:50 UTC (rev 12368)
@@ -27,9 +27,18 @@
+class LDAPOperand(Values):
+ """
+ LDAP operands.
+ """
+ AND = ValueConstant(u"&")
+ OR = ValueConstant(u"|")
+
+
+
class LDAPMatchType(Names):
"""
- Constants for native LDAP match types.
+ LDAP match types.
For each constant defined, if there is an equivalent L{MatchType} constant,
the attribute C{matchType} reference that constant. It is otherwise unset.
@@ -112,6 +121,14 @@
+class LDAPMatchFlags(Values):
+ """
+ LDAP match flags.
+ """
+ NOT = ValueConstant(u"!")
+
+
+
# class RFC2307Attribute(Values):
# """
# Network Information Service attributes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/03356082/attachment.html>
More information about the calendarserver-changes
mailing list