[Zope3-checkins] CVS: Zope3/src/zope/app/schema - configure.zcml:1.7 schema.py:1.3

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


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

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


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




=== Zope3/src/zope/app/schema/configure.zcml 1.6 => 1.7 ===
--- Zope3/src/zope/app/schema/configure.zcml:1.6	Tue Mar  9 19:57:56 2004
+++ Zope3/src/zope/app/schema/configure.zcml	Thu Mar 11 07:38:15 2004
@@ -7,7 +7,7 @@
         description="A Persistent Schema that can be edited through the web"/>
 
     <implements
-        interface="zope.app.interfaces.services.utility.ILocalUtility" />
+        interface="zope.app.utility.interfaces.ILocalUtility" />
 
     <implements
         interface="zope.app.interfaces.annotation.IAttributeAnnotatable" />
@@ -26,10 +26,10 @@
   <content class=".schema.SchemaRegistration">
     <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>
 
   <include file="fields.zcml" />


=== Zope3/src/zope/app/schema/schema.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/schema/schema.py:1.2	Thu Mar 11 06:03:39 2004
+++ Zope3/src/zope/app/schema/schema.py	Thu Mar 11 07:38:15 2004
@@ -26,7 +26,7 @@
 from zope.app import zapi
 from zope.app.browser.container.adding import Adding
 from zope.app.interface import PersistentInterfaceClass
-from zope.app.services.utility import UtilityRegistration
+from zope.app.utility import UtilityRegistration
 from zope.app.container.contained import Contained, setitem, uncontained
 
 from zope.interface.interface import Attribute, Method, fromFunction




More information about the Zope3-Checkins mailing list