[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/service - __init__.py:1.24

Jim Fulton jim at zope.com
Sat Mar 6 12:49:20 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/services/service
In directory cvs.zope.org:/tmp/cvs-serv21993/src/zope/app/browser/services/service

Modified Files:
	__init__.py 
Log Message:
Changed most calls to queryAdapter to use interface calls instead.


=== Zope3/src/zope/app/browser/services/service/__init__.py 1.23 => 1.24 ===
--- Zope3/src/zope/app/browser/services/service/__init__.py:1.23	Sat Mar  6 11:50:15 2004
+++ Zope3/src/zope/app/browser/services/service/__init__.py	Sat Mar  6 12:48:46 2004
@@ -617,7 +617,7 @@
             service = sm.queryService(name)
             if service is None:
                 continue
-            registry = zapi.queryAdapter(service, IInterfaceBasedRegistry)
+            registry = IInterfaceBasedRegistry(service, None)
             if registry is None:
                 continue
             regs = list(registry.getRegistrationsForInterface(self.iface))




More information about the Zope3-Checkins mailing list