[Zope3-checkins] CVS: ZODB/src/BTrees - convert.py:1.9

Jeremy Hylton jeremy at zope.com
Fri Apr 16 11:58:15 EDT 2004


Update of /cvs-repository/ZODB/src/BTrees
In directory cvs.zope.org:/tmp/cvs-serv11088/src/BTrees

Modified Files:
	convert.py 
Log Message:
Replace use of builtin get_transaction() with explicit transaction module.


=== ZODB/src/BTrees/convert.py 1.8 => 1.9 ===
--- ZODB/src/BTrees/convert.py:1.8	Wed Mar  3 09:31:38 2004
+++ ZODB/src/BTrees/convert.py	Fri Apr 16 11:58:14 2004
@@ -20,9 +20,9 @@
         new[k]=v
         n=n+1
         if n > threshold:
-            get_transaction().commit(1)
+            transaction.commit(1)
             old._p_jar.cacheMinimize()
             n=0
 
-    get_transaction().commit(1)
+    transaction.commit(1)
     old._p_jar.cacheMinimize()




More information about the Zope3-Checkins mailing list