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

Jim Fulton jim at zope.com
Wed Feb 4 14:17:36 EST 2004


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

Modified Files:
	file.py 
Log Message:
Made the data attr non-required and gave it a default of 
''.


=== Zope3/src/zope/app/interfaces/content/file.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/interfaces/content/file.py:1.5	Tue Sep 16 18:00:55 2003
+++ Zope3/src/zope/app/interfaces/content/file.py	Wed Feb  4 14:17:36 2004
@@ -31,6 +31,8 @@
     data = zope.schema.Bytes(
         title = _(u'Data'),
         description = _(u'The actual content of the object.'),
+        default='',
+        required=False,
         )
 
     def getData():




More information about the Zope3-Checkins mailing list