[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces -
container.py:1.11
Philipp von Weitershausen
philikon at philikon.de
Tue Mar 2 13:49:47 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/interfaces
In directory cvs.zope.org:/tmp/cvs-serv7253/interfaces
Modified Files:
container.py
Log Message:
Remove backward compatability for event interfaces.
=== Zope3/src/zope/app/interfaces/container.py 1.10 => 1.11 ===
--- Zope3/src/zope/app/interfaces/container.py:1.10 Tue Mar 2 12:51:52 2004
+++ Zope3/src/zope/app/interfaces/container.py Tue Mar 2 13:49:46 2004
@@ -20,7 +20,7 @@
from zope.interface.common.mapping import IItemMapping
from zope.interface.common.mapping import IReadMapping, IEnumerableMapping
from zope.app.location.interfaces import ILocation
-from zope.app.interfaces.event import IObjectEvent
+from zope.app.event.interfaces import IObjectEvent
class DuplicateIDError(KeyError):
pass
@@ -262,11 +262,3 @@
def removeNotify(object, container):
"""Hook method will call before object is removed from container."""
-
-##############################################################################
-# Backward compatability
-from zope.app.interfaces import event
-event.IObjectMovedEvent = IObjectMovedEvent
-event.IObjectAddedEvent = IObjectAddedEvent
-event.IObjectRemovedEvent = IObjectRemovedEvent
-
More information about the Zope3-Checkins
mailing list