[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/File - File.py:1.1.2.8 NaiveFile.py:1.1.2.5
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/File
In directory cvs.zope.org:/tmp/cvs-serv3979/lib/python/Zope/App/OFS/Content/File
Modified Files:
Tag: Zope-3x-branch
File.py NaiveFile.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/File/File.py 1.1.2.7 => 1.1.2.8 ===
from FileChunk import FileChunk
from IFile import IFile
-from Zope.App.OFS.Memento.IAttributeMementoStorable \
- import IAttributeMementoStorable
+from Zope.App.OFS.Annotation.IAttributeAnnotatable import IAttributeAnnotatable
# set the size of the chunks
MAXCHUNKSIZE = 1 << 16
@@ -31,7 +30,7 @@
__implements__ = (
IFile,
- IAttributeMementoStorable,
+ IAttributeAnnotatable,
)
=== Zope3/lib/python/Zope/App/OFS/Content/File/NaiveFile.py 1.1.2.4 => 1.1.2.5 ===
import Persistence
from IFile import IFile
-from Zope.App.OFS.Memento.IAttributeMementoStorable \
- import IAttributeMementoStorable
+from Zope.App.OFS.Annotation.IAttributeAnnotatable import IAttributeAnnotatable
_RAISE_KEYERROR = []
@@ -34,7 +33,7 @@
__implements__ = (
IFile,
- IAttributeMementoStorable)
+ IAttributeAnnotatable)
def __init__(self, data='', contentType=None):