Commit 88383a91 authored by Hanno Schlichting's avatar Hanno Schlichting

Move import which causes registration side-effect

parent bc8e8a4e
...@@ -31,6 +31,3 @@ from AccessControl.ZopeGuards import full_write_guard ...@@ -31,6 +31,3 @@ from AccessControl.ZopeGuards import full_write_guard
from AccessControl.ZopeGuards import safe_builtins from AccessControl.ZopeGuards import safe_builtins
ModuleSecurityInfo('AccessControl').declarePublic('getSecurityManager') ModuleSecurityInfo('AccessControl').declarePublic('getSecurityManager')
from AccessControl import DTML # XXX side effects?
del DTML
...@@ -23,3 +23,6 @@ from DocumentTemplate.DT_HTML import HTML, HTMLDefault, HTMLFile ...@@ -23,3 +23,6 @@ from DocumentTemplate.DT_HTML import HTML, HTMLDefault, HTMLFile
# Register the dtml-tree tag # Register the dtml-tree tag
import TreeDisplay import TreeDisplay
from DocumentTemplate import security # Side effects!
del security
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