[Zope-Checkins] CVS: Zope/lib/python/AccessControl - SecurityInfo.py:1.11
Andreas Jung
andreas@zope.com
Thu, 13 Dec 2001 09:23:24 -0500
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv7299
Modified Files:
SecurityInfo.py
Log Message:
merge from 2.5 branch (string methods)
=== Zope/lib/python/AccessControl/SecurityInfo.py 1.10 => 1.11 ===
import Acquisition, PermissionRole, sys
-from string import lower
from zLOG import LOG, WARNING
@@ -127,7 +126,7 @@
booleans, or a callable (name, value) -> boolean.
"""
if type(access) == type(''):
- access = lower(access)
+ access = access.lower()
if access == 'allow':
access = 1
elif access == 'deny':