[CalendarServer-changes] [6324] CalendarServer/branches/users/glyph/more-deferreds-6/twext/web2/ server.py
source_changes at macosforge.org
source_changes at macosforge.org
Tue Sep 21 11:39:04 PDT 2010
Revision: 6324
http://trac.macosforge.org/projects/calendarserver/changeset/6324
Author: glyph at apple.com
Date: 2010-09-21 11:39:03 -0700 (Tue, 21 Sep 2010)
Log Message:
-----------
return the Deferred so that we know when the request has finished processing (make it possible to be correct in tests that call process())
Modified Paths:
--------------
CalendarServer/branches/users/glyph/more-deferreds-6/twext/web2/server.py
Modified: CalendarServer/branches/users/glyph/more-deferreds-6/twext/web2/server.py
===================================================================
--- CalendarServer/branches/users/glyph/more-deferreds-6/twext/web2/server.py 2010-09-21 18:38:01 UTC (rev 6323)
+++ CalendarServer/branches/users/glyph/more-deferreds-6/twext/web2/server.py 2010-09-21 18:39:03 UTC (rev 6324)
@@ -346,6 +346,7 @@
d.addCallback(self._cbFinishRender)
d.addErrback(self._processingFailed)
d.callback(None)
+ return d
def preprocessRequest(self):
"""Do any request processing that doesn't follow the normal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100921/3a96df29/attachment-0001.html>
More information about the calendarserver-changes
mailing list