[Zope3-checkins] CVS: Zope3/src/zope/app - copy.py:1.2.2.5

Sidnei da Silva sidnei@x3ng.com.br
Tue, 4 Feb 2003 12:11:35 -0500


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

Modified Files:
      Tag: paris-copypasterename-branch
	copy.py 
Log Message:
Fifth stab at getting tests right. Its working now. Im feeling lucky :)

=== Zope3/src/zope/app/copy.py 1.2.2.4 => 1.2.2.5 ===
--- Zope3/src/zope/app/copy.py:1.2.2.4	Tue Feb  4 12:06:22 2003
+++ Zope3/src/zope/app/copy.py	Tue Feb  4 12:11:33 2003
@@ -77,7 +77,7 @@
             getAdapter(new_obj, IAddNotifiable).manage_afterAdd(new_obj, container)
 
         # publish ObjectMovedEvent
-        publish(container, ObjectMovedEvent(container))
+        publish(container, ObjectMovedEvent(container, source_path, target_path))
 
         return new_name
         
@@ -141,7 +141,7 @@
             getAdapter(obj, IAddNotifiable).manage_afterAdd(obj, container)
 
         # publish ObjectMovedEvent
-        publish(container, ObjectCopiedEvent(container))
+        publish(container, ObjectCopiedEvent(container, source_path, target_path))
 
         return new_name