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

Barry Warsaw barry@wooz.org
Wed, 9 Apr 2003 13:58:21 -0400


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

Modified Files:
	bdbminimal.py 
Log Message:
_begin(), _dobegin(), _finish(): Fix signatures since user,
description, ext is never passed here.


=== Zope3/src/zodb/storage/bdbminimal.py 1.16 => 1.17 ===
--- Zope3/src/zodb/storage/bdbminimal.py:1.16	Mon Mar 17 15:23:21 2003
+++ Zope3/src/zodb/storage/bdbminimal.py	Wed Apr  9 13:58:20 2003
@@ -251,7 +251,7 @@
         # this round, for decref'ing on the next go 'round.
         return newdeltas
 
-    def _begin(self, tid, u, d, e):
+    def _begin(self, tid):
         # When a transaction begins, we set the pending flag to ABORT,
         # meaning, if we crash between now and the time we vote, all changes
         # will be aborted.
@@ -307,7 +307,7 @@
         finally:
             self._lock_release()
 
-    def _finish(self, tid, u, d, e):
+    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.