[Zodb-checkins] CVS: Zope3/src/zodb/storage - bdbminimal.py:1.26

Barry Warsaw barry at zope.com
Thu Jul 10 14:36:56 EDT 2003


Update of /cvs-repository/Zope3/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv26583

Modified Files:
	bdbminimal.py 
Log Message:
Better coverage for lastTransaction() by moving the most common usage
into the BaseStorage class.  Since this method is required by
IStorage, and most implementations do it the same way, it makes
sense.

_finish(): Refactor this to the base class.


=== Zope3/src/zodb/storage/bdbminimal.py 1.25 => 1.26 ===
--- Zope3/src/zodb/storage/bdbminimal.py:1.25	Wed Jul  2 11:41:46 2003
+++ Zope3/src/zodb/storage/bdbminimal.py	Thu Jul 10 13:36:50 2003
@@ -291,12 +291,6 @@
         finally:
             self._lock_release()
 
-    def _finish(self, tid):
-        # _docommit() twiddles the pending flag to COMMIT now since after the
-        # vote call, we promise that the changes will be committed, no matter
-        # what.  The recovery process will check this.
-        self._withtxn(self._docommit, self._serial)
-
     #
     # Accessor interface
     #




More information about the Zodb-checkins mailing list