[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Memento - AttributeMementoBag.py:1.1.2.2
R. David Murray
rdmurray@bitdance.com
Tue, 26 Mar 2002 10:12:57 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Memento
In directory cvs.zope.org:/tmp/cvs-serv12083
Modified Files:
Tag: Zope-3x-branch
AttributeMementoBag.py
Log Message:
Add missing __implements__ assertion for IMementoBag.
=== Zope3/lib/python/Zope/App/OFS/Memento/AttributeMementoBag.py 1.1.2.1 => 1.1.2.2 ===
from Persistence.BTrees.OOBTree import OOBTree
+from IMementoBag import IMementoBag
class AttributeMementoBag:
@@ -23,6 +24,8 @@
Store memento bag data in the __membag__ attribute on a
IAttributeMementoStorable object.
"""
+
+ __implements__ = IMementoBag
def __init__(self,obj):
if not hasattr(obj,'__memobag__'): obj.__memobag__ = OOBTree()