[Zope3-checkins] CVS: Zope3/src/zodb/storage - interfaces.py:1.18
Barry Warsaw
barry@zope.com
Thu, 10 Jul 2003 13:37:39 -0400
Update of /cvs-repository/Zope3/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv26750
Modified Files:
interfaces.py
Log Message:
lastTransaction(): Elaborate; when no transactions have been
committed, this returns ZERO.
=== Zope3/src/zodb/storage/interfaces.py 1.17 => 1.18 ===
--- Zope3/src/zodb/storage/interfaces.py:1.17 Tue Apr 22 11:23:13 2003
+++ Zope3/src/zodb/storage/interfaces.py Thu Jul 10 13:37:35 2003
@@ -170,7 +170,10 @@
"""
def lastTransaction():
- """Return transaction id for last committed transaction."""
+ """Return transaction id for last committed transaction.
+
+ If no transactions have yet been committed, return ZERO.
+ """
def lastSerial(oid):
"""Return last serialno committed for object oid.