[Zope3-checkins] CVS: Zope3/src/zope/app/event - __init__.py:1.8
R. Sean Bowman
sean.bowman@acm.org
Fri, 7 Mar 2003 19:52:11 -0500
Update of /cvs-repository/Zope3/src/zope/app/event
In directory cvs.zope.org:/tmp/cvs-serv6337/app/event
Modified Files:
__init__.py
Log Message:
change service names: Events -> EventDispatch, Subscription ->
EventSubscription, ErrorReports -> ErrorLogging
=== Zope3/src/zope/app/event/__init__.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/event/__init__.py:1.7 Tue Feb 11 21:17:21 2003
+++ Zope3/src/zope/app/event/__init__.py Fri Mar 7 19:51:41 2003
@@ -18,12 +18,12 @@
"""
from zope.component import getService
-from zope.app.services.servicenames import Events
+from zope.app.services.servicenames import EventDispatch
from zope.app.interfaces.event import IEvent
from zope.app.event.globalservice import eventPublisher, checkEventType
def getEventService(context): # the "publish" service
- return getService(context, Events)
+ return getService(context, EventDispatch)
def publish(context, event):
return getEventService(context).publish(event)