[CalendarServer-changes] [5437] CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Apr 6 20:26:34 PDT 2010
Revision: 5437
http://trac.macosforge.org/projects/calendarserver/changeset/5437
Author: sagen at apple.com
Date: 2010-04-06 20:26:30 -0700 (Tue, 06 Apr 2010)
Log Message:
-----------
Just as in queryDirectory( ), augment the temporary directory records created during principal-property-search report.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
Modified: CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py 2010-04-06 17:50:58 UTC (rev 5436)
+++ CalendarServer/trunk/twistedcaldav/directory/appleopendirectory.py 2010-04-07 03:26:30 UTC (rev 5437)
@@ -400,6 +400,15 @@
emailAddresses = recordEmailAddresses,
memberGUIDs = (),
)
+
+ # (Copied from below)
+ # Look up augment information
+ # TODO: this needs to be deferred but for now we hard code
+ # the deferred result because we know it is completing
+ # immediately.
+ d = augment.AugmentService.getAugmentRecord(record.guid)
+ d.addCallback(lambda x:record.addAugmentInformation(x))
+
yield record
except KeyError:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100406/b0470205/attachment.html>
More information about the calendarserver-changes
mailing list