[CalendarServer-changes] [12477] twext/trunk/twext/who

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 12 11:20:26 PDT 2014


Revision: 12477
          http://trac.calendarserver.org//changeset/12477
Author:   wsanchez at apple.com
Date:     2014-01-30 10:04:08 -0800 (Thu, 30 Jan 2014)
Log Message:
-----------
doc

Modified Paths:
--------------
    twext/trunk/twext/who/idirectory.py
    twext/trunk/twext/who/xml.py

Modified: twext/trunk/twext/who/idirectory.py
===================================================================
--- twext/trunk/twext/who/idirectory.py	2014-01-30 18:03:52 UTC (rev 12476)
+++ twext/trunk/twext/who/idirectory.py	2014-01-30 18:04:08 UTC (rev 12477)
@@ -120,7 +120,7 @@
 
 
 #
-# Data Types
+# Data types
 #
 
 class RecordType(Names):

Modified: twext/trunk/twext/who/xml.py
===================================================================
--- twext/trunk/twext/who/xml.py	2014-01-30 18:03:52 UTC (rev 12476)
+++ twext/trunk/twext/who/xml.py	2014-01-30 18:04:08 UTC (rev 12477)
@@ -68,12 +68,15 @@
 ##
 
 class Element(Values):
+    """
+    XML element names.
+    """
+
     directory = ValueConstant(u"directory")
     record    = ValueConstant(u"record")
 
-    #
     # Field names
-    #
+
     uid = ValueConstant(u"uid")
     uid.fieldName = BaseFieldName.uid
 
@@ -98,15 +101,20 @@
 
 
 class Attribute(Values):
+    """
+    XML attribute names.
+    """
+
     realm      = ValueConstant(u"realm")
     recordType = ValueConstant(u"type")
 
 
 
 class RecordTypeValue(Values):
-    #
-    # Record types
-    #
+    """
+    XML attribute values for record types.
+    """
+
     user = ValueConstant(u"user")
     user.recordType = BaseRecordType.user
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/caf53022/attachment.html>


More information about the calendarserver-changes mailing list