[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Image - Image.py:1.1.2.4
Casey Duncan
casey@zope.com
Fri, 29 Mar 2002 09:34:23 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Image
In directory cvs.zope.org:/tmp/cvs-serv3119/lib/python/Zope/App/OFS/Image
Modified Files:
Tag: Zope-3x-branch
Image.py
Log Message:
Updated implementations to utilize mementos
=== Zope3/lib/python/Zope/App/OFS/Image/Image.py 1.1.2.3 => 1.1.2.4 ===
from Zope.App.OFS.File.File import IFile, File
-from Zope.App.Security.IAttributeRolePermissionManageable \
- import IAttributeRolePermissionManageable
-
+from Zope.App.OFS.Memento.IAttributeMementoStorable \
+ import IAttributeMementoStorable
+
class IImage(IFile):
"""This interface defines an Image that can be displayed.
@@ -26,7 +26,10 @@
class Image(File):
""" """
- __implements__ = IImage
+ __implements__ = (
+ IImage,
+ IAttributeMementoStorable,
+ )
def __init__(self, data=None):