[Zope-Checkins] SVN: Zope/branches/2.10/ - Collector #2209: ZTUtils
module could not be used inside ZPT
Andreas Jung
andreas at andreas-jung.com
Sun Oct 8 06:54:04 EDT 2006
Log message for revision 70569:
- Collector #2209: ZTUtils module could not be used inside ZPT
Changed:
U Zope/branches/2.10/doc/CHANGES.txt
U Zope/branches/2.10/lib/python/Products/PageTemplates/__init__.py
-=-
Modified: Zope/branches/2.10/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.10/doc/CHANGES.txt 2006-10-08 10:38:47 UTC (rev 70568)
+++ Zope/branches/2.10/doc/CHANGES.txt 2006-10-08 10:54:03 UTC (rev 70569)
@@ -11,7 +11,9 @@
- Collector #2208: rewriting/setting the 'charset' part of the content-type
HTTP header will be done only for 'text/*'
+ - Collector #2209: ZTUtils module could not be used inside ZPT
+
Zope 2.10.0 (2006/10/04)
Bugs fixed
Modified: Zope/branches/2.10/lib/python/Products/PageTemplates/__init__.py
===================================================================
--- Zope/branches/2.10/lib/python/Products/PageTemplates/__init__.py 2006-10-08 10:38:47 UTC (rev 70568)
+++ Zope/branches/2.10/lib/python/Products/PageTemplates/__init__.py 2006-10-08 10:54:03 UTC (rev 70569)
@@ -21,6 +21,11 @@
# Placeholder for Zope Product data
misc_ = {}
+# import ZTUtils in order to make i importable through
+# ZopeGuards.load_module() where an importable modules must be
+# available in sys.modules
+import ZTUtils
+
def initialize(context):
# Import lazily, and defer initialization to the module
import ZopePageTemplate
More information about the Zope-Checkins
mailing list