[Zope3-checkins] CVS: Zope3/src/zope/security - proxy.py:1.8

Jim Fulton jim@zope.com
Wed, 28 May 2003 13:19:55 -0400


Update of /cvs-repository/Zope3/src/zope/security
In directory cvs.zope.org:/tmp/cvs-serv25942/src/zope/security

Modified Files:
	proxy.py 
Log Message:
renamed zope.proxy.getObject to zope.proxy.getProxiedObject


=== Zope3/src/zope/security/proxy.py 1.7 => 1.8 ===
--- Zope3/src/zope/security/proxy.py:1.7	Wed May 28 11:49:27 2003
+++ Zope3/src/zope/security/proxy.py	Wed May 28 13:19:24 2003
@@ -16,7 +16,7 @@
 $Id$
 """
 
-from zope.proxy import getObject
+from zope.proxy import getProxiedObject
 from zope.security._proxy import getChecker
 from zope.security._proxy import _Proxy as Proxy
 from zope.security.checker import TrustedCheckerBase
@@ -36,7 +36,7 @@
     if ((type(object) is Proxy) and
         isinstance(getChecker(object), TrustedCheckerBase)
         ):
-        return getObject(object)
+        return getProxiedObject(object)
 
     return object