[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces - event.py:1.9

Steve Alexander steve@cat-box.net
Sat, 7 Jun 2003 03:24:22 -0400


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

Modified Files:
	event.py 
Log Message:
Fixed collector issue   http://collector.zope.org/Zope3-dev/163.



=== Zope3/src/zope/app/interfaces/event.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/interfaces/event.py:1.8	Sat Jun  7 03:00:18 2003
+++ Zope3/src/zope/app/interfaces/event.py	Sat Jun  7 03:23:51 2003
@@ -297,15 +297,12 @@
 class IObjectRemovedEvent(IObjectEvent):
     """An object has been removed from a container"""
 
-# XXX IObjectMovedEvent should extend IObjectAddedEvent and
-#     IObjectRemovedEvent
-class IObjectMovedEvent(IObjectEvent):
+class IObjectMovedEvent(IObjectRemovedEvent, IObjectAddedEvent):
     """An object has been moved"""
 
     fromLocation = Attribute("The old location for the object.")
 
-# XXX IObjectCopiedEvent should extend IObjectAddedEvent
-class IObjectCopiedEvent(IObjectEvent):
+class IObjectCopiedEvent(IObjectAddedEvent):
     """An object has been copied"""
 
     fromLocation = Attribute("The old location for the object.")