[CalendarServer-changes] [1623]
CalendarServer/trunk/twistedcaldav/method/put_common.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jun 27 11:58:45 PDT 2007
Revision: 1623
http://trac.macosforge.org/projects/calendarserver/changeset/1623
Author: wsanchez at apple.com
Date: 2007-06-27 11:58:45 -0700 (Wed, 27 Jun 2007)
Log Message:
-----------
Bare except is OK here, because we are re-raising it.
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/method/put_common.py
Modified: CalendarServer/trunk/twistedcaldav/method/put_common.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/method/put_common.py 2007-06-27 18:44:23 UTC (rev 1622)
+++ CalendarServer/trunk/twistedcaldav/method/put_common.py 2007-06-27 18:58:45 UTC (rev 1623)
@@ -570,19 +570,6 @@
yield response
return
- except Exception, e:
- if reserved:
- destination_index.unreserveUID(uid)
- reserved = False
-
- # Roll back changes to original server state. Note this may do nothing
- # if the rollback has already ocurred or changes already committed.
- rollback.Rollback()
- raise
-
- # FIXME: remove this bare except once we move to only supporting Python 2.5.
- # This is only here now because at least one dependent library was raising a string exception
- # which was not caught and did not result on resource rollback.
except:
if reserved:
destination_index.unreserveUID(uid)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070627/0cd7c0bb/attachment.html
More information about the calendarserver-changes
mailing list