[Zope3-checkins] CVS: Zope3/src/zope/app/container - copy.py:1.1.2.7
runyaga
runyaga@thisbox.com
Wed, 5 Feb 2003 11:44:01 -0500
Update of /cvs-repository/Zope3/src/zope/app/container
In directory cvs.zope.org:/tmp/cvs-serv26947/src/zope/app/container
Modified Files:
Tag: paris-copypasterename-branch
copy.py
Log Message:
when you remove you get the object
but when you paste you get the key.
sidnei was getting confused and we were
ending up pasting the u'name' of the object
instead of hte object itself.
it works. it should be cleaned up a tad
=== Zope3/src/zope/app/container/copy.py 1.1.2.6 => 1.1.2.7 ===
--- Zope3/src/zope/app/container/copy.py:1.1.2.6 Wed Feb 5 05:09:13 2003
+++ Zope3/src/zope/app/container/copy.py Wed Feb 5 11:43:58 2003
@@ -120,7 +120,7 @@
# and we dont publish an ObjectRemovedEvent
publish(container, ObjectModifiedEvent(container))
- return key
+ return object
class CopySource: