[Zodb-checkins] CVS: ZODB3/ZODB - DB.py:1.59
Jeremy Hylton
jeremy at zope.com
Tue Jan 6 16:44:26 EST 2004
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv1354/ZODB
Modified Files:
DB.py
Log Message:
Add lastTransaction() method to db.
Don't use bpthread; just use thread.
=== ZODB3/ZODB/DB.py 1.58 => 1.59 ===
--- ZODB3/ZODB/DB.py:1.58 Wed Dec 24 11:02:00 2003
+++ ZODB3/ZODB/DB.py Tue Jan 6 16:44:25 2004
@@ -18,7 +18,7 @@
import cPickle, cStringIO, sys, POSException, UndoLogCompatible
from Connection import Connection
-from bpthread import allocate_lock
+from thread import allocate_lock
from Transaction import Transaction, get_transaction
from referencesf import referencesf
from time import time, ctime
@@ -281,6 +281,9 @@
def getCacheSize(self):
return self._cache_size
+
+ def lastTransaction(self):
+ return self._storage.lastTransaction()
def getName(self): return self._storage.getName()
More information about the Zodb-checkins
mailing list