[Zope3-checkins] CVS: Zope3/src/zope/component - adapter.py:1.12 interfaces.py:1.33 presentation.py:1.14

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


Update of /cvs-repository/Zope3/src/zope/component
In directory cvs.zope.org:/tmp/cvs-serv17053/src/zope/component

Modified Files:
	adapter.py interfaces.py presentation.py 
Log Message:


Renamed IComponentRegistry to IRegistry.




=== Zope3/src/zope/component/adapter.py 1.11 => 1.12 ===
--- Zope3/src/zope/component/adapter.py:1.11	Thu Apr 15 09:26:09 2004
+++ Zope3/src/zope/component/adapter.py	Sat Apr 17 10:33:51 2004
@@ -16,7 +16,7 @@
 $Id$
 """
 from zope.component.exceptions import ComponentLookupError
-from zope.component.interfaces import IAdapterService, IComponentRegistry
+from zope.component.interfaces import IAdapterService, IRegistry
 from zope.component.service import GlobalService
 from zope.interface.adapter import AdapterRegistry
 from zope.interface import implements, providedBy, Interface
@@ -24,7 +24,7 @@
 import warnings
 import zope.schema
 
-class IGlobalAdapterService(IAdapterService, IComponentRegistry):
+class IGlobalAdapterService(IAdapterService, IRegistry):
 
     def register(required, provided, name, factory, info=''):
         """Register an adapter factory


=== Zope3/src/zope/component/interfaces.py 1.32 => 1.33 ===
--- Zope3/src/zope/component/interfaces.py:1.32	Thu Apr 15 09:26:13 2004
+++ Zope3/src/zope/component/interfaces.py	Sat Apr 17 10:33:51 2004
@@ -329,7 +329,7 @@
         If the component can't be found, the default is returned.
         """
 
-class IComponentRegistry(Interface):
+class IRegistry(Interface):
     """Object that supports component registry
     """
 


=== Zope3/src/zope/component/presentation.py 1.13 => 1.14 ===
--- Zope3/src/zope/component/presentation.py:1.13	Thu Apr 15 09:26:17 2004
+++ Zope3/src/zope/component/presentation.py	Sat Apr 17 10:33:51 2004
@@ -27,7 +27,7 @@
 $Id$
 """
 from types import ClassType
-from zope.component.interfaces import IPresentationService, IComponentRegistry
+from zope.component.interfaces import IPresentationService, IRegistry
 from zope.component.service import GlobalService
 from zope.component.servicenames import Presentation
 from zope.interface import providedBy
@@ -203,7 +203,7 @@
 
     zope.interface.implements(IPresentationService,
                               IGlobalPresentationService,
-                              IComponentRegistry,
+                              IRegistry,
                               )
     
     def __init__(self):




More information about the Zope3-Checkins mailing list