[Zope3-checkins] CVS: Zope3/src/zope/proxy/context - __init__.py:1.1.2.3

Jim Fulton jim@zope.com
Mon, 23 Dec 2002 18:56:39 -0500


Update of /cvs-repository/Zope3/src/zope/proxy/context
In directory cvs.zope.org:/tmp/cvs-serv3483/src/zope/proxy/context

Modified Files:
      Tag: NameGeddon-branch
	__init__.py 
Log Message:
got zope.app.traversing tests to pass

=== Zope3/src/zope/proxy/context/__init__.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/proxy/context/__init__.py:1.1.2.2	Mon Dec 23 18:52:38 2002
+++ Zope3/src/zope/proxy/context/__init__.py	Mon Dec 23 18:56:39 2002
@@ -23,7 +23,6 @@
 from zope.proxy.context.wrapper import getobject, getdict
 from zope.proxy.context.wrapper import getcontext, getinnercontext
 from zope.proxy.context.wrapper import getinnerwrapper
-from zope.proxy.context.wrapper import Wrapper as _Wrapper
 from zope.security.checker import defineChecker, selectChecker, BasicTypes
 
 from zope.proxy.interfaces.context import IContextWrapper
@@ -44,9 +43,9 @@
         # insert into proxies
         checker = getChecker(_ob)
         _ob = getObject(_ob)
-        _ob = Proxy(_Wrapper(_ob, _parent, **kw), checker)
+        _ob = Proxy(wrapperCreator(_ob, _parent, **kw), checker)
     else:
-        _ob = _Wrapper(_ob, _parent, **kw)
+        _ob = wrapperCreator(_ob, _parent, **kw)
         
     return _ob
 
@@ -101,7 +100,7 @@
 class ContainmentIterator:
 
     def __init__(self, obj):
-        self._ob = _Wrapper(None, obj)
+        self._ob = wrapperCreator(None, obj)
 
     def __iter__(self):
         return self