[Zope-Checkins] SVN: Zope/branches/hannosch-dtml-vs-accesscontrol/src/ Move import which causes registration side-effect
Hanno Schlichting
hannosch at hannosch.eu
Sun May 16 14:42:01 EDT 2010
Log message for revision 112379:
Move import which causes registration side-effect
Changed:
U Zope/branches/hannosch-dtml-vs-accesscontrol/src/AccessControl/__init__.py
U Zope/branches/hannosch-dtml-vs-accesscontrol/src/DocumentTemplate/__init__.py
-=-
Modified: Zope/branches/hannosch-dtml-vs-accesscontrol/src/AccessControl/__init__.py
===================================================================
--- Zope/branches/hannosch-dtml-vs-accesscontrol/src/AccessControl/__init__.py 2010-05-16 18:39:45 UTC (rev 112378)
+++ Zope/branches/hannosch-dtml-vs-accesscontrol/src/AccessControl/__init__.py 2010-05-16 18:42:01 UTC (rev 112379)
@@ -31,6 +31,3 @@
from AccessControl.ZopeGuards import safe_builtins
ModuleSecurityInfo('AccessControl').declarePublic('getSecurityManager')
-
-from AccessControl import DTML # XXX side effects?
-del DTML
Modified: Zope/branches/hannosch-dtml-vs-accesscontrol/src/DocumentTemplate/__init__.py
===================================================================
--- Zope/branches/hannosch-dtml-vs-accesscontrol/src/DocumentTemplate/__init__.py 2010-05-16 18:39:45 UTC (rev 112378)
+++ Zope/branches/hannosch-dtml-vs-accesscontrol/src/DocumentTemplate/__init__.py 2010-05-16 18:42:01 UTC (rev 112379)
@@ -23,3 +23,6 @@
# Register the dtml-tree tag
import TreeDisplay
+
+from DocumentTemplate import security # Side effects!
+del security
More information about the Zope-Checkins
mailing list