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
d5a0980c
Commit
d5a0980c
authored
Oct 30, 2001
by
matt@zope.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reenable C security manager load; set ZOPE_SECURITY_POLICY=PYTHON in environment
to override.
parent
0fd27e29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/python/AccessControl/SecurityManager.py
lib/python/AccessControl/SecurityManager.py
+3
-3
No files found.
lib/python/AccessControl/SecurityManager.py
View file @
d5a0980c
...
...
@@ -85,8 +85,8 @@
__doc__
=
'''short description
$Id: SecurityManager.py,v 1.
9 2001/10/26 22:50:22 jim
Exp $'''
__version__
=
'$Revision: 1.
9
$'
[
11
:
-
2
]
$Id: SecurityManager.py,v 1.
10 2001/10/30 19:27:55 matt
Exp $'''
__version__
=
'$Revision: 1.
10
$'
[
11
:
-
2
]
import
ZopeSecurityPolicy
,
os
,
string
...
...
@@ -269,7 +269,7 @@ class SecurityManager:
try
:
raise
ImportError
#
disable C optimization
#raise ImportError # uncomment to
disable C optimization
import
os
if
os
.
environ
.
get
(
"ZOPE_SECURITY_POLICY"
,
None
)
==
"PYTHON"
:
raise
ImportError
# :)
...
...
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