[CalendarServer-changes] [13507] twext/trunk/twext/who/opendirectory/_service.py

source_changes at macosforge.org source_changes at macosforge.org
Mon May 19 16:29:35 PDT 2014


Revision: 13507
          http://trac.calendarserver.org//changeset/13507
Author:   wsanchez at apple.com
Date:     2014-05-19 16:29:35 -0700 (Mon, 19 May 2014)
Log Message:
-----------
comment updates

Modified Paths:
--------------
    twext/trunk/twext/who/opendirectory/_service.py

Modified: twext/trunk/twext/who/opendirectory/_service.py
===================================================================
--- twext/trunk/twext/who/opendirectory/_service.py	2014-05-19 23:24:05 UTC (rev 13506)
+++ twext/trunk/twext/who/opendirectory/_service.py	2014-05-19 23:29:35 UTC (rev 13507)
@@ -875,10 +875,11 @@
 
         fields = {}
         for name, values in details.iteritems():
+            # Ignore attributes that we don't map to fields
             if name in (
-                # We get this field even though we did not ask for it...
+                # We get this attribute even though we did not ask for it
                 ODAttribute.metaRecordName.value,
-                # We fetch these records to look for system accounts...
+                # We fetch these attributes only to look for system accounts
                 ODAttribute.uniqueId.value,
                 ODAttribute.primaryGroupId.value,
                 ODAttribute.isHidden.value,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140519/3a887ac9/attachment.html>


More information about the calendarserver-changes mailing list