[CalendarServer-changes] [4697] CalendarServer/branches/more-deferreds-4/twistedcaldav/method/ put_common.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 3 09:16:14 PST 2009


Revision: 4697
          http://trac.macosforge.org/projects/calendarserver/changeset/4697
Author:   glyph at apple.com
Date:     2009-11-03 09:16:11 -0800 (Tue, 03 Nov 2009)
Log Message:
-----------
functions which call returnValue and yield Deferreds must be @inlineCallbacks

Modified Paths:
--------------
    CalendarServer/branches/more-deferreds-4/twistedcaldav/method/put_common.py

Modified: CalendarServer/branches/more-deferreds-4/twistedcaldav/method/put_common.py
===================================================================
--- CalendarServer/branches/more-deferreds-4/twistedcaldav/method/put_common.py	2009-11-02 22:47:55 UTC (rev 4696)
+++ CalendarServer/branches/more-deferreds-4/twistedcaldav/method/put_common.py	2009-11-03 17:16:11 UTC (rev 4697)
@@ -442,7 +442,8 @@
             message = "File name %s not allowed in calendar collection" % (filename,)
 
         return result, message
-        
+
+    @inlineCallbacks
     def validContentType(self):
         """
         Make sure that the content-type of the source resource is
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091103/17330104/attachment.html>


More information about the calendarserver-changes mailing list