[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/Image - Image.py:1.1.2.6
Steve Alexander
steve@cat-box.net
Sun, 26 May 2002 12:10:57 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/Image
In directory cvs.zope.org:/tmp/cvs-serv3979/lib/python/Zope/App/OFS/Content/Image
Modified Files:
Tag: Zope-3x-branch
Image.py
Log Message:
Changed MementoBag to Annotations as per collector issue 66
http://collector.zope.org/Zope3-dev/66
Note that this will break pre-existing __memobag__ attributes in
persistent objects.
=== Zope3/lib/python/Zope/App/OFS/Content/Image/Image.py 1.1.2.5 => 1.1.2.6 ===
from Zope.App.OFS.Content.File.File import IFile, File
-from Zope.App.OFS.Memento.IAttributeMementoStorable \
- import IAttributeMementoStorable
+from Zope.App.OFS.Annotation.IAttributeAnnotatable import IAttributeAnnotatable
from StringIO import StringIO
@@ -39,7 +38,7 @@
__implements__ = (
IImage,
- IAttributeMementoStorable,
+ IAttributeAnnotatable,
)
def __init__(self, data=None):