[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/LocalEventService - LocalEventService.py:1.10 configure.zcml:1.11

Jim Fulton jim@zope.com
Sun, 1 Dec 2002 05:32:59 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/LocalEventService
In directory cvs.zope.org:/tmp/cvs-serv3545/lib/python/Zope/App/OFS/Services/LocalEventService

Modified Files:
	LocalEventService.py configure.zcml 
Log Message:
Renamed publishEvent to publish

=== Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/LocalEventService.py 1.9 => 1.10 ===
--- Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/LocalEventService.py:1.9	Thu Nov 28 10:31:14 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/LocalEventService.py	Sun Dec  1 05:32:29 2002
@@ -51,7 +51,7 @@
         # (c) removed.
         return 1
     
-    def publishEvent(wrapped_self, event):
+    def publish(wrapped_self, event):
         "see IEventService"
         clean_self = removeAllProxies(wrapped_self)
         
@@ -69,9 +69,9 @@
         else:
             publishedEvents.append(event)
         if(clean_self.isPromotableEvent(event)):
-            getNextService(wrapped_self, 'Events').publishEvent(event)
+            getNextService(wrapped_self, 'Events').publish(event)
         publishedEvents.remove(event)
-    publishEvent = ContextMethod(publishEvent)
+    publish = ContextMethod(publish)
         
     def notify(wrapped_self, event):
         "see ISubscriber"


=== Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/configure.zcml 1.10 => 1.11 ===
--- Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/configure.zcml:1.10	Sat Nov 30 13:36:38 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/LocalEventService/configure.zcml	Sun Dec  1 05:32:29 2002
@@ -12,7 +12,7 @@
 
     <require
         permission="Zope.View"
-        attributes="publishEvent notify" />
+        attributes="publish notify" />
     <require
         permission="Zope.ManageServices"
         attributes="bound unbound subscribe unsubscribe subscribeOnBind