[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/File - I18nFile.py:1.4

Jim Fulton jim@zope.com
Mon, 11 Nov 2002 13:24:47 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/File
In directory cvs.zope.org:/tmp/cvs-serv1369

Modified Files:
	I18nFile.py 
Log Message:
Added missing contentType and data properties to conform to interface.


=== Zope3/lib/python/Zope/App/OFS/Content/File/I18nFile.py 1.3 => 1.4 ===
--- Zope3/lib/python/Zope/App/OFS/Content/File/I18nFile.py:1.3	Tue Jun 25 07:27:50 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/File/I18nFile.py	Mon Nov 11 13:24:47 2002
@@ -99,6 +99,8 @@
         return self._contentType
 
 
+    contentType = property(getContentType, setContentType)
+
     def edit(self, data, contentType=None, language=None):
         '''See interface IFile'''
 
@@ -123,6 +125,7 @@
         '''See interface IFile'''
         self._get_or_add(language).setData(data)
 
+    data = property(getData, setData)
 
     def getSize(self, language=None):
         '''See interface IFile'''