[CalendarServer-changes] [3344] CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Nov 7 12:35:03 PST 2008


Revision: 3344
          http://trac.macosforge.org/projects/calendarserver/changeset/3344
Author:   wsanchez at apple.com
Date:     2008-11-07 12:35:03 -0800 (Fri, 07 Nov 2008)
Log Message:
-----------
Rename record to recordData for clarity.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py

Modified: CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py	2008-11-07 20:34:25 UTC (rev 3343)
+++ CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py	2008-11-07 20:35:03 UTC (rev 3344)
@@ -171,19 +171,19 @@
             ):
                 yield GUID
 
-    def _calendarUserAddresses(self, recordType, recordName, record):
+    def _calendarUserAddresses(self, recordType, recordName, recordData):
         """
         Extract specific attributes from the directory record for use as calendar user address.
         
         @param recordName: a C{str} containing the record name being operated on.
-        @param record: a C{dict} containing the attributes retrieved from the directory.
+        @param recordData: a C{dict} containing the attributes retrieved from the directory.
         @return: a C{set} of C{str} for each expanded calendar user address.
         """
         # Now get the addresses
         result = set()
         
         # Add each email address as a mailto URI
-        emails = record.get(dsattributes.kDSNAttrEMailAddress)
+        emails = recordData.get(dsattributes.kDSNAttrEMailAddress)
         if emails is not None:
             if isinstance(emails, str):
                 emails = [emails]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081107/414aaaf8/attachment.html>


More information about the calendarserver-changes mailing list