[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/content - file.py:1.4

Steve Alexander steve@cat-box.net
Mon, 14 Apr 2003 13:15:21 -0400


Update of /cvs-repository/Zope3/src/zope/app/interfaces/content
In directory cvs.zope.org:/tmp/cvs-serv19670/src/zope/app/interfaces/content

Modified Files:
	file.py 
Log Message:
Made file and image implementations confirm to their schema.

The data field should never be None, as it must conform to a required
Bytes field.

See http://collector.zope.org/Zope3-dev/140



=== Zope3/src/zope/app/interfaces/content/file.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/content/file.py:1.3	Tue Mar 25 15:46:13 2003
+++ Zope3/src/zope/app/interfaces/content/file.py	Mon Apr 14 13:15:21 2003
@@ -27,7 +27,6 @@
         default = 'text/plain',
         )
 
-
     data = zope.schema.Bytes(
         title = _(u'Data'),
         description = _(u'The actual content of the object.'),