[Zope-Checkins] CVS: Releases/Zope/lib/python/AccessControl - SecurityManager.py:1.10
Matthew T. Kromer
matt@zope.com
Tue, 30 Oct 2001 14:27:55 -0500
Update of /cvs-repository/Releases/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv10426/lib/python/AccessControl
Modified Files:
SecurityManager.py
Log Message:
Reenable C security manager load; set ZOPE_SECURITY_POLICY=PYTHON in environment
to override.
=== Releases/Zope/lib/python/AccessControl/SecurityManager.py 1.9 => 1.10 ===
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 # :)