[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-cvs
Subject: [Zope-Checkins]
From: Andreas Jung <andreas () andreas-jung ! com>
Date: 2006-12-29 11:55:57
Message-ID: 20061229115557.B086E203309 () mail ! zope ! org
[Download RAW message or body]
Log message for revision 71671:
the constructor now uses text/html as default value for content_type
Changed:
U Zope/branches/2.10/lib/python/Products/PageTemplates/ZopePageTemplate.py
-=-
Modified: Zope/branches/2.10/lib/python/Products/PageTemplates/ZopePageTemplate.py
===================================================================
--- Zope/branches/2.10/lib/python/Products/PageTemplates/ZopePageTemplate.py 2006-12-29 \
11:55:43 UTC (rev 71670)
+++ Zope/branches/2.10/lib/python/Products/PageTemplates/ZopePageTemplate.py 2006-12-29 \
11:55:56 UTC (rev 71671) @@ -103,12 +103,11 @@
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)
self.output_encoding = output_encoding
-
# default content
if not text:
text = open(self._default_content_fn).read()
_______________________________________________
Zope-Checkins maillist - Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic