[Zope3-checkins] CVS: Zope3/src/zope/security - proxy.py:1.4
Steve Alexander
steve@cat-box.net
Thu, 26 Dec 2002 13:42:48 -0500
Update of /cvs-repository/Zope3/src/zope/security
In directory cvs.zope.org:/tmp/cvs-serv19082/src/zope/security
Modified Files:
proxy.py
Log Message:
reinstated the import of ProxyFactory. It is part of the api of the
module.
=== Zope3/src/zope/security/proxy.py 1.3 => 1.4 ===
--- Zope3/src/zope/security/proxy.py:1.3 Thu Dec 26 13:11:48 2002
+++ Zope3/src/zope/security/proxy.py Thu Dec 26 13:42:47 2002
@@ -20,6 +20,9 @@
from zope.security._proxy import _Proxy as Proxy
from zope.security.checker import Checker as _trustedChecker
+# This import represents part of the API for this module
+from zope.security.checker import ProxyFactory
+
def trustedRemoveSecurityProxy(object):
if ((type(object) is Proxy) and
isinstance(getChecker(object), _trustedChecker)