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
# 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
......
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