[Zope3-checkins] CVS: Zope3/src/zope/security - proxy.py:1.3
Steve Alexander
steve@cat-box.net
Thu, 26 Dec 2002 13:11:49 -0500
Update of /cvs-repository/Zope3/src/zope/security
In directory cvs.zope.org:/tmp/cvs-serv15191/src/zope/security
Modified Files:
proxy.py
Log Message:
Removed extraneous import.
Corrected docstring typo.
=== Zope3/src/zope/security/proxy.py 1.2 => 1.3 ===
--- Zope3/src/zope/security/proxy.py:1.2 Wed Dec 25 09:15:21 2002
+++ Zope3/src/zope/security/proxy.py Thu Dec 26 13:11:48 2002
@@ -18,7 +18,7 @@
from zope.security._proxy import getObject, getChecker
from zope.security._proxy import _Proxy as Proxy
-from zope.security.checker import ProxyFactory, Checker as _trustedChecker
+from zope.security.checker import Checker as _trustedChecker
def trustedRemoveSecurityProxy(object):
if ((type(object) is Proxy) and
@@ -33,7 +33,7 @@
"""Try to get checker names and permissions for testing
If this succeeds, a sorted sequence of items is returned,
- otherwise, None is retirned.
+ otherwise, None is returned.
"""
checker = getChecker(proxy)
func = checker.getPermission_func()