[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - adding.py:1.19.2.2

Jim Fulton jim at zope.com
Tue Sep 9 17:32:26 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv29240/browser/container

Modified Files:
      Tag: parentgeddon-branch
	adding.py 
Log Message:
got more tests to pass on branch

=== Zope3/src/zope/app/browser/container/adding.py 1.19.2.1 => 1.19.2.2 ===
--- Zope3/src/zope/app/browser/container/adding.py:1.19.2.1	Mon Sep  8 14:21:23 2003
+++ Zope3/src/zope/app/browser/container/adding.py	Tue Sep  9 16:31:56 2003
@@ -47,7 +47,7 @@
         """See zope.app.interfaces.container.IAdding"""
         container = zapi.getAdapter(self.context, IAddTarget)
         name = container.addObject(self.contentName, content)
-        return container[name]
+        return self.context[name]
 
     contentName = None # usually set by Adding traverser
 




More information about the Zope3-Checkins mailing list