Commit 3e23cd59 authored by Boxiang Sun's avatar Boxiang Sun

hard code to use Python implementation

parent 5fc71985
...@@ -28,10 +28,11 @@ from zope.interface import implements ...@@ -28,10 +28,11 @@ from zope.interface import implements
# This is used when a permission maps explicitly to no permission. We # 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 # try and get this from cAccessControl first to make sure that if both
# security implementations exist, we can switch between them later. # security implementations exist, we can switch between them later.
try: # try:
from cAccessControl import _what_not_even_god_should_do # from cAccessControl import _what_not_even_god_should_do
except ImportError: # except ImportError:
_what_not_even_god_should_do = [] # _what_not_even_god_should_do = []
_what_not_even_god_should_do = []
from AccessControl.SecurityManagement import getSecurityManager from AccessControl.SecurityManagement import getSecurityManager
from AccessControl.unauthorized import Unauthorized from AccessControl.unauthorized import Unauthorized
......
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