[CalendarServer-changes] [3158] CalendarServer/trunk/twistedcaldav/itip.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 15 20:11:18 PDT 2008


Revision: 3158
          http://trac.macosforge.org/projects/calendarserver/changeset/3158
Author:   cdaboo at apple.com
Date:     2008-10-15 20:11:18 -0700 (Wed, 15 Oct 2008)
Log Message:
-----------
An inline callback yield inside an except seems to wipe the current exception info, so re-raise does
not work as expected. Need to explicitly raise the exception again.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/itip.py

Modified: CalendarServer/trunk/twistedcaldav/itip.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/itip.py	2008-10-15 23:38:00 UTC (rev 3157)
+++ CalendarServer/trunk/twistedcaldav/itip.py	2008-10-16 03:11:18 UTC (rev 3158)
@@ -108,7 +108,7 @@
         except Exception, e:
             log.error(e)
             yield _lock.clean()
-            raise
+            raise e
 
     @inlineCallbacks
     def processRequest(self):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081015/72c889a9/attachment.html 


More information about the calendarserver-changes mailing list