[Zope3-checkins] CVS: Zope3/src/zope/app/process - bootstrap.py:1.18 configure.zcml:1.7 event.py:1.3

Philipp von Weitershausen philikon at philikon.de
Tue Mar 2 13:51:34 EST 2004


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

Modified Files:
	bootstrap.py configure.zcml event.py 
Log Message:
Moved event interfaces from zope.app.interfaces.event to
zope.app.event.interfaces.


=== Zope3/src/zope/app/process/bootstrap.py 1.17 => 1.18 ===
--- Zope3/src/zope/app/process/bootstrap.py:1.17	Tue Feb 24 11:51:20 2004
+++ Zope3/src/zope/app/process/bootstrap.py	Tue Mar  2 13:51:02 2004
@@ -26,7 +26,7 @@
 from zope.component.exceptions import ComponentLookupError
 
 from zope.app import zapi
-from zope.app.interfaces.event import ISubscriber
+from zope.app.event.interfaces import ISubscriber
 from zope.app.traversing import traverse, traverseName
 from zope.app.publication.zopepublication import ZopePublication
 from zope.app.folder import rootFolder


=== Zope3/src/zope/app/process/configure.zcml 1.6 => 1.7 ===
--- Zope3/src/zope/app/process/configure.zcml:1.6	Tue Sep  2 16:46:17 2003
+++ Zope3/src/zope/app/process/configure.zcml	Tue Mar  2 13:51:02 2004
@@ -65,10 +65,12 @@
 
   <event:subscribe
       subscriber=".bootstrap.bootstrapInstance"
-      event_types="zope.app.interfaces.event.IDatabaseOpenedEvent" />
+      event_types="zope.app.event.interfaces.IDatabaseOpenedEvent"
+      />
 
   <event:subscribe
       subscriber=".bootstrap.createInterfaceService"
-      event_types="zope.app.interfaces.event.IDatabaseOpenedEvent" />
+      event_types="zope.app.event.interfaces.IDatabaseOpenedEvent"
+      />
 
 </configure>


=== Zope3/src/zope/app/process/event.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/process/event.py:1.2	Wed Jun 25 11:29:32 2003
+++ Zope3/src/zope/app/process/event.py	Tue Mar  2 13:51:02 2004
@@ -16,16 +16,15 @@
 $Id$
 """
 
-from zope.app.interfaces import event
 from zope.interface import implements
-
+from zope.app.event.interfaces import \
+     IDatabaseOpenedEvent, IProcessStartingEvent
 
 class DatabaseOpened:
-    implements(event.IDatabaseOpenedEvent)
+    implements(IDatabaseOpenedEvent)
 
     def __init__(self, database):
         self.database = database
 
-
 class ProcessStarting:
-    implements(event.IProcessStartingEvent)
+    implements(IProcessStartingEvent)




More information about the Zope3-Checkins mailing list