[CalendarServer-changes] [10621] CalendarServer/trunk/twext/who/xml.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Feb 1 15:04:57 PST 2013
Revision: 10621
http://trac.calendarserver.org//changeset/10621
Author: wsanchez at apple.com
Date: 2013-02-01 15:04:57 -0800 (Fri, 01 Feb 2013)
Log Message:
-----------
Typo: memberUID.fieldname -> memberUID.fieldName
Modified Paths:
--------------
CalendarServer/trunk/twext/who/xml.py
Modified: CalendarServer/trunk/twext/who/xml.py
===================================================================
--- CalendarServer/trunk/twext/who/xml.py 2013-02-01 22:06:10 UTC (rev 10620)
+++ CalendarServer/trunk/twext/who/xml.py 2013-02-01 23:04:57 UTC (rev 10621)
@@ -56,25 +56,35 @@
##
class Element(Values):
- directory = ValueConstant("directory")
- record = ValueConstant("record")
- uid = ValueConstant("uid")
- guid = ValueConstant("guid")
- shortName = ValueConstant("short-name")
- fullName = ValueConstant("full-name")
+ directory = ValueConstant("directory")
+ record = ValueConstant("record")
+
+ #
+ # Field names
+ #
+ uid = ValueConstant("uid")
+ uid.fieldName = FieldName.uid
+
+ guid = ValueConstant("guid")
+ guid.fieldName = FieldName.guid
+
+ shortName = ValueConstant("short-name")
+ shortName.fieldName = FieldName.shortNames
+
+ fullName = ValueConstant("full-name")
+ fullName.fieldName = FieldName.fullNames
+
emailAddress = ValueConstant("email")
- password = ValueConstant("password")
- memberUID = ValueConstant("member-uid")
-
- uid.fieldName = FieldName.uid
- guid.fieldName = FieldName.guid
- shortName.fieldName = FieldName.shortNames
- fullName.fieldName = FieldName.fullNames
emailAddress.fieldName = FieldName.emailAddresses
- password.fieldName = FieldName.password
+ password = ValueConstant("password")
+ password.fieldName = FieldName.password
+ memberUID = ValueConstant("member-uid")
+ memberUID.fieldName = FieldName.memberUIDs
+
+
class Attribute(Values):
realm = ValueConstant("realm")
recordType = ValueConstant("type")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130201/dd581bb7/attachment.html>
More information about the calendarserver-changes
mailing list