[Zope3-checkins] CVS: Zope3/src/zope/app/content - file.py:1.6
Steve Alexander
steve@cat-box.net
Wed, 12 Mar 2003 05:07:32 -0500
Update of /cvs-repository/Zope3/src/zope/app/content
In directory cvs.zope.org:/tmp/cvs-serv11913/src/zope/app/content
Modified Files:
file.py
Log Message:
removed extraneous whitespace
=== Zope3/src/zope/app/content/file.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/content/file.py:1.5 Mon Feb 3 10:08:32 2003
+++ Zope3/src/zope/app/content/file.py Wed Mar 12 05:07:27 2003
@@ -37,21 +37,17 @@
self.data = data
self.contentType = contentType
-
def __len__(self):
return self.size
-
def setContentType(self, contentType):
'''See interface IFile'''
self._contentType = contentType
-
def getContentType(self):
'''See interface IFile'''
return self._contentType
-
def edit(self, data, contentType=None):
'''See interface IFile'''
# XXX This seems broken to me, as setData can override the
@@ -65,7 +61,6 @@
if data is not None:
self.data = data
-
def getData(self):
'''See interface IFile'''
if hasattr(self._data, '__class__') and \
@@ -74,7 +69,6 @@
else:
return self._data
-
def setData(self, data):
'''See interface IFile'''
# Handle case when data is a string
@@ -160,7 +154,6 @@
self._data, self._size = next, size
return None
-
def getSize(self):
'''See interface IFile'''