[Zope3-checkins] CVS: Zope3/src/zope/app/event - objectevent.py:1.14
Nathan Yergler
nathan at yergler.net
Tue Mar 30 16:48:16 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/event
In directory cvs.zope.org:/tmp/cvs-serv8162/src/zope/app/event
Modified Files:
objectevent.py
Log Message:
Moved ObserverEvent event channel out of zope.app.event into zope.app.observable.
=== Zope3/src/zope/app/event/objectevent.py 1.13 => 1.14 ===
--- Zope3/src/zope/app/event/objectevent.py:1.13 Tue Mar 30 09:13:24 2004
+++ Zope3/src/zope/app/event/objectevent.py Tue Mar 30 16:47:38 2004
@@ -86,18 +86,6 @@
objectEventNotifierInstance = ObjectEventNotifier()
-class ObserverEventNotifier:
-
- implements(ISubscriber)
-
- def notify (self, event):
- adapter = IObservable(event.object, None)
-
- if adapter is not None:
- adapter.notify(event, ISubscriber)
-
-observerEventNotifierInstance = ObserverEventNotifier()
-
def objectEventCallbackHelper(callback):
"""Build a factory implementing ISubscriber that just calls a callback
More information about the Zope3-Checkins
mailing list