[Zodb-checkins] SVN: ZODB/branches/gocept-iteration/src/ZEO/CommitLog.py Whitespace
Christian Theune
ct at gocept.com
Tue Aug 26 09:01:44 EDT 2008
Log message for revision 90322:
Whitespace
Changed:
U ZODB/branches/gocept-iteration/src/ZEO/CommitLog.py
-=-
Modified: ZODB/branches/gocept-iteration/src/ZEO/CommitLog.py
===================================================================
--- ZODB/branches/gocept-iteration/src/ZEO/CommitLog.py 2008-08-26 12:57:41 UTC (rev 90321)
+++ ZODB/branches/gocept-iteration/src/ZEO/CommitLog.py 2008-08-26 13:01:44 UTC (rev 90322)
@@ -18,10 +18,13 @@
concurrent commits are achieved by logging actions up until the
tpc_vote(). At that point, the entire transaction is committed on the
real storage.
+
"""
+
import cPickle
import tempfile
+
class CommitLog:
def __init__(self):
@@ -35,11 +38,11 @@
return self.file.tell()
def store(self, oid, serial, data):
- self.pickler.dump(('store', oid, serial, data))
+ self.pickler.dump(('s', oid, serial, data))
self.stores += 1
def restore(self, oid, serial, data, prev_txn):
- self.pickler.dump(('restore', oid, serial, data, prev_txn))
+ self.pickler.dump(('r', oid, serial, data, prev_txn))
self.stores += 1
def get_loader(self):
More information about the Zodb-checkins
mailing list