[Zope-Checkins] CVS: Zope/lib/python/AccessControl - SecurityManager.py:1.12
Andreas Jung
andreas@zope.com
Thu, 13 Dec 2001 09:23:45 -0500
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv7806
Modified Files:
SecurityManager.py
Log Message:
merge from 2.5 branch (string methods)
=== Zope/lib/python/AccessControl/SecurityManager.py 1.11 => 1.12 ===
__version__='$Revision$'[11:-2]
-import ZopeSecurityPolicy, os, string
+import ZopeSecurityPolicy, os
_noroles = ZopeSecurityPolicy._noroles
-try: max_stack_size=string.atoi(os.environ.get('Z_MAX_STACK_SIZE','100'))
+try: max_stack_size=int(os.environ.get('Z_MAX_STACK_SIZE','100'))
except: max_stack_size=100
if os.environ.has_key("ZSP_OWNEROUS_SKIP"): ownerous=0