[Zope3-checkins] CVS: Zope3/src/zodb/storage - bdbfull.py:1.5
Barry Warsaw
barry@wooz.org
Mon, 30 Dec 2002 18:54:13 -0500
Update of /cvs-repository/Zope3/src/zodb/storage
In directory cvs.zope.org:/tmp/cvs-serv19412
Modified Files:
bdbfull.py
Log Message:
_RecordsIterator: This thing must implement ITransactionAttrs for
copyTransactionsFrom() to work.
=== Zope3/src/zodb/storage/bdbfull.py 1.4 => 1.5 ===
--- Zope3/src/zodb/storage/bdbfull.py:1.4 Mon Dec 30 17:38:15 2002
+++ Zope3/src/zodb/storage/bdbfull.py Mon Dec 30 18:54:12 2002
@@ -33,11 +33,11 @@
from zodb.serialize import findrefs
from zodb.timestamp import TimeStamp
from zodb.conflict import ConflictResolvingStorage, ResolvedSerial
+from zodb.interfaces import ITransactionAttrs
-# BerkeleyBase.BerkeleyBase class provides some common functionality for both
-# the Full and Minimal implementations. It in turn inherits from
-# zodb.storage.base.BaseStorage which itself provides some common storage
-# functionality.
+# BerkeleyBase class provides some common functionality for both the
+# BDBFullStorage and BDBMinimalStorage implementations. It in turn inherits
+# from BaseStorage which itself provides some common storage functionality.
from zodb.storage.base import BerkeleyBase, PackStop, _WorkThread
from zodb.storage._helper import incr
@@ -1792,6 +1792,8 @@
Items *must* be accessed sequentially (e.g. with a for loop).
"""
+
+ __implements__ = ITransactionAttrs
# Transaction id as an 8-byte timestamp string
tid = None