[Zope3-checkins] CVS: Zope3/src/zope/app/utility - configure.zcml:1.4 interfaces.py:1.4

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Apr 17 10:33:43 EDT 2004


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

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


Get rid of getRegisteredMatching().



Renamed IComponentRegistry to IRegistry.




=== Zope3/src/zope/app/utility/configure.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/utility/configure.zcml:1.3	Tue Mar 23 11:37:23 2004
+++ Zope3/src/zope/app/utility/configure.zcml	Sat Apr 17 10:33:42 2004
@@ -20,8 +20,12 @@
       />
   <require
     permission="zope.ManageServices"
-    attributes="getRegisteredMatching queryRegistrations"
+    attributes="queryRegistrations"
     />
+  <require
+      permission="zope.ManageServices"
+      interface="zope.app.registration.interfaces.IRegistry"
+      />
 </content>
 
 <content class=".UtilityRegistration">


=== Zope3/src/zope/app/utility/interfaces.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/utility/interfaces.py:1.3	Thu Apr 15 11:29:42 2004
+++ Zope3/src/zope/app/utility/interfaces.py	Sat Apr 17 10:33:42 2004
@@ -19,13 +19,14 @@
 from zope.app.i18n import ZopeMessageIDFactory as _
 from zope.app.registration.interfaces import IComponentRegistration
 from zope.app.registration.interfaces import IRegisterable
+from zope.app.registration.interfaces import IRegistry
 from zope.app.registration.interfaces import ComponentPath
-import zope.component.interfaces
 from zope.schema import TextLine
+import zope.component.interfaces
 
 class ILocalUtilityService(
         zope.component.interfaces.IUtilityService,
-        zope.component.interfaces.IComponentRegistry,
+        IRegistry,
         ):
     """Local Utility Service
     """




More information about the Zope3-Checkins mailing list