[Zope3-checkins] CVS: Zope3/src/zope/app/container - add.py:1.1.2.6

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


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

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

=== Zope3/src/zope/app/container/add.py 1.1.2.5 => 1.1.2.6 ===
--- Zope3/src/zope/app/container/add.py:1.1.2.5	Tue Sep  9 15:22:25 2003
+++ Zope3/src/zope/app/container/add.py	Tue Sep  9 16:31:57 2003
@@ -189,6 +189,9 @@
         # Add the object
         name = container.setObject(name, obj)
 
+        # We may have a different (e.g. proxied) object:
+        obj = container[name]
+
         # Publish an added event
         # We explicitly get the object back from the container with
         # container[name], because some kinds of container may choose




More information about the Zope3-Checkins mailing list