[Checkins] SVN: zc.beforestorage/trunk/src/zc/beforestorage/ Renamed lastTid to getTid to conform to the ZEO.interfaces.IServeable
Jim Fulton
jim at zope.com
Mon Dec 1 13:23:20 EST 2008
Log message for revision 93509:
Renamed lastTid to getTid to conform to the ZEO.interfaces.IServeable
interface.
Changed:
U zc.beforestorage/trunk/src/zc/beforestorage/README.txt
U zc.beforestorage/trunk/src/zc/beforestorage/__init__.py
-=-
Modified: zc.beforestorage/trunk/src/zc/beforestorage/README.txt
===================================================================
--- zc.beforestorage/trunk/src/zc/beforestorage/README.txt 2008-12-01 18:10:02 UTC (rev 93508)
+++ zc.beforestorage/trunk/src/zc/beforestorage/README.txt 2008-12-01 18:23:20 UTC (rev 93509)
@@ -40,6 +40,13 @@
Change history
==============
+0.3.1 (2008-12-01)
+******************
+
+Renamed lastTid to getTid to conform to the ZEO.interfaces.IServeable
+interface.
+
+
0.3.0 (2008-12-01)
******************
@@ -256,9 +263,11 @@
>>> s2 == transactions[4]
True
- >>> b5.lastTid(root._p_oid) == transactions[4]
+ >>> b5.getTid(root._p_oid) == transactions[4]
True
+ >>> b5.tpc_transaction()
+
>>> b5.new_oid()
Traceback (most recent call last):
...
Modified: zc.beforestorage/trunk/src/zc/beforestorage/__init__.py
===================================================================
--- zc.beforestorage/trunk/src/zc/beforestorage/__init__.py 2008-12-01 18:10:02 UTC (rev 93508)
+++ zc.beforestorage/trunk/src/zc/beforestorage/__init__.py 2008-12-01 18:23:20 UTC (rev 93509)
@@ -94,7 +94,7 @@
def isReadOnly(self):
return True
- def lastTid(self, oid):
+ def getTid(self, oid):
return self.load(oid)[1]
def lastTransaction(self):
More information about the Checkins
mailing list