Log message for revision 66279:
  one more zodb 3.4-style transaction abort
  

Changed:
  UU  Products.Five/branches/1.0/browser.py

-=-
Modified: Products.Five/branches/1.0/browser.py
===================================================================
--- Products.Five/branches/1.0/browser.py       2006-03-31 16:52:05 UTC (rev 
66278)
+++ Products.Five/branches/1.0/browser.py       2006-03-31 16:58:39 UTC (rev 
66279)
@@ -20,6 +20,7 @@
 from datetime import datetime
 
 # Zope 2
+import transaction
 import Acquisition
 from  Acquisition import aq_inner, aq_parent, aq_base
 from AccessControl import ClassSecurityInfo
@@ -217,7 +218,7 @@
             except WidgetsError, errors:
                 self.errors = errors
                 status = "An error occured."
-                get_transaction().abort()
+                transaction.abort()
             else:
                 setUpEditWidgets(self, self.schema, source=self.adapted,
                                  ignoreStickyValues=True,


Property changes on: Products.Five/branches/1.0/browser.py
___________________________________________________________________
Name: svn:eol-style
   + native

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to