Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AccessControl-2.13.14
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
Boxiang Sun
AccessControl-2.13.14
Commits
3e23cd59
Commit
3e23cd59
authored
Oct 20, 2016
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hard code to use Python implementation
parent
5fc71985
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/AccessControl/ImplPython.py
src/AccessControl/ImplPython.py
+5
-4
No files found.
src/AccessControl/ImplPython.py
View file @
3e23cd59
...
...
@@ -28,10 +28,11 @@ from zope.interface import implements
# This is used when a permission maps explicitly to no permission. We
# try and get this from cAccessControl first to make sure that if both
# security implementations exist, we can switch between them later.
try
:
from
cAccessControl
import
_what_not_even_god_should_do
except
ImportError
:
_what_not_even_god_should_do
=
[]
# try:
# from cAccessControl import _what_not_even_god_should_do
# except ImportError:
# _what_not_even_god_should_do = []
_what_not_even_god_should_do
=
[]
from
AccessControl.SecurityManagement
import
getSecurityManager
from
AccessControl.unauthorized
import
Unauthorized
...
...
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