[CalendarServer-changes] [13045] CalendarServer/branches/users/sagen/move2who-4/txdav/common/ datastore/podding/resource.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 28 18:35:23 PDT 2014
Revision: 13045
http://trac.calendarserver.org//changeset/13045
Author: sagen at apple.com
Date: 2014-03-28 18:35:23 -0700 (Fri, 28 Mar 2014)
Log Message:
-----------
yield
Modified Paths:
--------------
CalendarServer/branches/users/sagen/move2who-4/txdav/common/datastore/podding/resource.py
Modified: CalendarServer/branches/users/sagen/move2who-4/txdav/common/datastore/podding/resource.py
===================================================================
--- CalendarServer/branches/users/sagen/move2who-4/txdav/common/datastore/podding/resource.py 2014-03-29 01:35:00 UTC (rev 13044)
+++ CalendarServer/branches/users/sagen/move2who-4/txdav/common/datastore/podding/resource.py 2014-03-29 01:35:23 UTC (rev 13045)
@@ -88,12 +88,13 @@
return False
+ @inlineCallbacks
def principalForCalendarUserAddress(self, address):
for principalCollection in self.principalCollections():
- principal = principalCollection.principalForCalendarUserAddress(address)
+ principal = yield principalCollection.principalForCalendarUserAddress(address)
if principal is not None:
- return principal
- return None
+ returnValue(principal)
+ returnValue(None)
def render(self, request):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140328/4ae34de2/attachment.html>
More information about the calendarserver-changes
mailing list