[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/file/interfaces.py - Set the default content type to ''. Added missing_value to avoid None

Christian Theune ct at gocept.com
Thu Jun 10 07:51:23 EDT 2004


Log message for revision 25327:
- Set the default content type to ''. Added missing_value to avoid None
  breaking other assumptions.
 
- Whitespace normalization




-=-
Modified: Zope3/trunk/src/zope/app/file/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/file/interfaces.py	2004-06-10 09:55:46 UTC (rev 25326)
+++ Zope3/trunk/src/zope/app/file/interfaces.py	2004-06-10 11:51:22 UTC (rev 25327)
@@ -24,13 +24,14 @@
     contentType = BytesLine(
         title = _(u'Content Type'),
         description=_(u'The content type identifies the type of data.'),
-        default = 'text/plain',
-        required=False
+        default='',
+        required=False,
+        missing_value=''
         )
 
     data = Bytes(
-        title = _(u'Data'),
-        description = _(u'The actual content of the object.'),
+        title=_(u'Data'),
+        description=_(u'The actual content of the object.'),
         default='',
         required=False,
         )




More information about the Zope3-Checkins mailing list