Log message for revision 30379:
  utils.appcall(), too, must abort before closing the connection, just in case
  something went wrong during execution of 'function'.
  

Changed:
  U   Zope/trunk/lib/python/Testing/ZopeTestCase/utils.py

-=-
Modified: Zope/trunk/lib/python/Testing/ZopeTestCase/utils.py
===================================================================
--- Zope/trunk/lib/python/Testing/ZopeTestCase/utils.py 2005-05-17 18:05:34 UTC 
(rev 30378)
+++ Zope/trunk/lib/python/Testing/ZopeTestCase/utils.py 2005-05-17 18:09:24 UTC 
(rev 30379)
@@ -147,6 +147,7 @@
     try:
         return function(*args, **kw)
     finally:
+        transaction.abort()
         close(app)
 
 

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

Reply via email to