Commit c4af5a79 authored by Andreas Jung's avatar Andreas Jung

- Collector #2209: ZTUtils module could not be used inside ZPT

parent 020cf240
...@@ -11,6 +11,8 @@ Zope Changes ...@@ -11,6 +11,8 @@ Zope Changes
- Collector #2208: rewriting/setting the 'charset' part of the content-type - Collector #2208: rewriting/setting the 'charset' part of the content-type
HTTP header will be done only for 'text/*' 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) Zope 2.10.0 (2006/10/04)
......
...@@ -21,6 +21,11 @@ $Id$ ...@@ -21,6 +21,11 @@ $Id$
# Placeholder for Zope Product data # Placeholder for Zope Product data
misc_ = {} 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): def initialize(context):
# Import lazily, and defer initialization to the module # Import lazily, and defer initialization to the module
import ZopePageTemplate import ZopePageTemplate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment