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

R. Sean Bowman sean.bowman@acm.org
Sat, 8 Mar 2003 16:46:36 -0500


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

Modified Files:
	__init__.py 
Log Message:
changed EventDispatch to EventPublication, modified some zcml to be more
consistent with the new service names


=== Zope3/src/zope/app/event/__init__.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/event/__init__.py:1.8	Fri Mar  7 19:51:41 2003
+++ Zope3/src/zope/app/event/__init__.py	Sat Mar  8 16:45:59 2003
@@ -18,12 +18,12 @@
 """
 
 from zope.component import getService
-from zope.app.services.servicenames import EventDispatch
+from zope.app.services.servicenames import EventPublication
 from zope.app.interfaces.event import IEvent
 from zope.app.event.globalservice import eventPublisher, checkEventType
 
 def getEventService(context): # the "publish" service
-    return getService(context, EventDispatch)
+    return getService(context, EventPublication)
 
 def publish(context, event):
     return getEventService(context).publish(event)