[Zodb-checkins] CVS: Zope3/src/zodb/storage - interfaces.py:1.18

Barry Warsaw barry at zope.com
Thu Jul 10 14:37:41 EDT 2003


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.




More information about the Zodb-checkins mailing list