[Zope3-checkins] CVS: Zope3/src/zope/app/schemacontent - configure.zcml:1.2 content.py:1.3

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Mar 11 07:38:49 EST 2004


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

Modified Files:
	configure.zcml content.py 
Log Message:


Moved utility service to zope.app.utility. Added module aliases, so that your
ZODB should be fine.




=== Zope3/src/zope/app/schemacontent/configure.zcml 1.1 => 1.2 ===
--- Zope3/src/zope/app/schemacontent/configure.zcml:1.1	Tue Mar  9 19:57:59 2004
+++ Zope3/src/zope/app/schemacontent/configure.zcml	Thu Mar 11 07:38:17 2004
@@ -12,7 +12,7 @@
       description="A Persistent Content Component Definition" />
 
     <implements
-      interface="zope.app.interfaces.services.utility.ILocalUtility" />
+      interface="zope.app.utility.interfaces.ILocalUtility" />
 
     <implements
       interface="zope.app.interfaces.annotation.IAttributeAnnotatable" />
@@ -27,10 +27,10 @@
   <content class=".content.ContentComponentDefinitionRegistration">
     <require
       permission="zope.ManageServices"
-      interface="zope.app.interfaces.services.utility.IUtilityRegistration
+      interface="zope.app.utility.interfaces.IUtilityRegistration
                  zope.app.container.interfaces.IAddNotifiable
                  zope.app.container.interfaces.IRemoveNotifiable"
-      set_schema="zope.app.interfaces.services.utility.IUtilityRegistration"
+      set_schema="zope.app.utility.interfaces.IUtilityRegistration"
       />
   </content>
 


=== Zope3/src/zope/app/schemacontent/content.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/schemacontent/content.py:1.2	Wed Mar 10 18:10:46 2004
+++ Zope3/src/zope/app/schemacontent/content.py	Thu Mar 11 07:38:17 2004
@@ -28,7 +28,7 @@
      LocalBrowserMenuService, LocalBrowserMenu, LocalBrowserMenuItem
 from zope.app.services.service import ServiceRegistration
 from zope.app.services.servicenames import BrowserMenu
-from zope.app.services.utility import UtilityRegistration
+from zope.app.utility import UtilityRegistration
 from zope.component.exceptions import ComponentLookupError
 from zope.interface import directlyProvides, implements
 from zope.schema import getFields




More information about the Zope3-Checkins mailing list