[CMF-checkins] CVS: CMF/CMFDefault/skins/control - undo.py:1.2

Tres Seaver tseaver@zope.com
Tue, 2 Apr 2002 19:11:05 -0500


Update of /cvs-repository/CMF/CMFDefault/skins/control
In directory cvs.zope.org:/tmp/cvs-serv16001/CMFDefault/skins/control

Modified Files:
	undo.py 
Log Message:
 - Merge fixes for Tracker #468 from branch.

=== CMF/CMFDefault/skins/control/undo.py 1.1 => 1.2 ===
 ##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' )