Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
88383a91
Commit
88383a91
authored
May 16, 2010
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move import which causes registration side-effect
parent
bc8e8a4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/AccessControl/__init__.py
src/AccessControl/__init__.py
+0
-3
src/DocumentTemplate/__init__.py
src/DocumentTemplate/__init__.py
+3
-0
No files found.
src/AccessControl/__init__.py
View file @
88383a91
...
...
@@ -31,6 +31,3 @@ from AccessControl.ZopeGuards import full_write_guard
from
AccessControl.ZopeGuards
import
safe_builtins
ModuleSecurityInfo
(
'AccessControl'
).
declarePublic
(
'getSecurityManager'
)
from
AccessControl
import
DTML
# XXX side effects?
del
DTML
src/DocumentTemplate/__init__.py
View file @
88383a91
...
...
@@ -23,3 +23,6 @@ from DocumentTemplate.DT_HTML import HTML, HTMLDefault, HTMLFile
# Register the dtml-tree tag
import
TreeDisplay
from
DocumentTemplate
import
security
# Side effects!
del
security
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment