[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/File - File.py:1.1.2.7

Jim Fulton jim@zope.com
Thu, 9 May 2002 08:00:04 -0400


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

Modified Files:
      Tag: Zope-3x-branch
	File.py 
Log Message:
Added a commend questioning the odd semantics of edit which are only
alluded to by IFile.


=== Zope3/lib/python/Zope/App/OFS/Content/File/File.py 1.1.2.6 => 1.1.2.7 ===
     def edit(self, data, contentType=None):
         '''See interface IFile'''
+
+        # XXX This seems broken to me, as setData can override the
+        # content type explicitly passed in.
+        
         if contentType is not None:
             self._contentType = contentType
         self.setData(data)