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

Jim Fulton jim@zope.com
Tue, 27 May 2003 18:28:33 -0400


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

Modified Files:
	__init__.py 
Log Message:
Removed some stupid code I added in a fit of flailing.


=== Zope3/src/zope/context/__init__.py 1.13 => 1.14 ===
--- Zope3/src/zope/context/__init__.py:1.13	Tue May 27 10:18:29 2003
+++ Zope3/src/zope/context/__init__.py	Tue May 27 18:28:32 2003
@@ -49,17 +49,6 @@
     else:
         _ob = makeWrapper(_ob, _parent, kw)
 
-    if type(_ob) in wrapperTypes:
-        #print 'wrapped', _ob
-        if getcontext(_ob) == _parent:
-            dict = getdictcreate(_ob)
-            #print 'avoided rewrapping', dict, kw
-            dict.update(kw)
-            return _ob
-
-
-
-
     return _ob
 
 ContextWrapper = hookable(ContextWrapper)