Log message for revision 71670:
  the constructor now uses text/html as default value for content_type
  

Changed:
  U   Zope/trunk/lib/python/Products/PageTemplates/ZopePageTemplate.py

-=-
Modified: Zope/trunk/lib/python/Products/PageTemplates/ZopePageTemplate.py
===================================================================
--- Zope/trunk/lib/python/Products/PageTemplates/ZopePageTemplate.py    
2006-12-29 10:56:10 UTC (rev 71669)
+++ Zope/trunk/lib/python/Products/PageTemplates/ZopePageTemplate.py    
2006-12-29 11:55:43 UTC (rev 71670)
@@ -103,7 +103,7 @@
     security.declareProtected(view_management_screens,
                               'read', 'ZScriptHTML_tryForm')
 
-    def __init__(self, id, text=None, content_type=None, strict=True, 
output_encoding='utf-8'):
+    def __init__(self, id, text=None, content_type='text/html', strict=True, 
output_encoding='utf-8'):
         self.id = id
         self.expand = 0                                                        
       
         self.ZBindings_edit(self._default_bindings)

_______________________________________________
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins

Reply via email to