[CMF-checkins] CVS: CMF/CMFDefault/skins/control - undo.py:1.1.30.1
Tres Seaver
tseaver@zope.com
Tue, 2 Apr 2002 19:07:29 -0500
Update of /cvs-repository/CMF/CMFDefault/skins/control
In directory cvs.zope.org:/tmp/cvs-serv15711/CMFDefault/skins/control
Modified Files:
Tag: tseaver-tracker_468-branch
undo.py
Log Message:
- *Don't mask exceptions here!
=== CMF/CMFDefault/skins/control/undo.py 1.1 => 1.1.30.1 ===
##title=Undo transactions
##parameters=transaction_info
-try:
- context.portal_undo.undo(context, transaction_info)
-except:
- return context.REQUEST.RESPONSE.redirect(
- 'folder_contents?portal_status_message=Transaction(s)+could+not+be+undone.' )
-
+context.portal_undo.undo(context, transaction_info)
+
return context.REQUEST.RESPONSE.redirect(
'folder_contents?portal_status_message=Transaction(s)+undone' )