[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/File - IFile.py:1.7
Jim Fulton
jim@zope.com
Wed, 11 Sep 2002 18:09:05 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/File
In directory cvs.zope.org:/tmp/cvs-serv9283/lib/python/Zope/App/OFS/Content/File
Modified Files:
IFile.py
Log Message:
Updated to work with new schemas.
In particular, changed field titles and desciptions to unicode.
=== Zope3/lib/python/Zope/App/OFS/Content/File/IFile.py 1.6 => 1.7 ===
--- Zope3/lib/python/Zope/App/OFS/Content/File/IFile.py:1.6 Sat Sep 7 12:18:49 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/File/IFile.py Wed Sep 11 18:08:35 2002
@@ -23,15 +23,15 @@
class IReadFile(IFileContent):
contentType = Zope.Schema.Bytes(
- title = 'Content Type',
- description = 'The content type identifies the type of data.',
+ title = u'Content Type',
+ description=u'The content type identifies the type of data.',
default = 'text/plain',
)
data = Zope.Schema.Bytes(
- title = 'Data',
- description = 'The actual content of the object.',
+ title = u'Data',
+ description = u'The actual content of the object.',
)
def getData():