[Zope3-checkins] CVS: Zope3/src/zope/component - utility.py:1.9

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Mar 10 06:34:07 EST 2004


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

Modified Files:
	utility.py 
Log Message:
Temporary fix until Jim checks in a complete rewrite of utility registration 
using the adapter service. This also fixes the apidoc tool failure.


=== Zope3/src/zope/component/utility.py 1.8 => 1.9 ===
--- Zope3/src/zope/component/utility.py:1.8	Fri Mar  5 17:09:25 2004
+++ Zope3/src/zope/component/utility.py	Wed Mar 10 06:34:01 2004
@@ -89,8 +89,7 @@
             for iface, util in self.__utilities[name].getRegisteredMatching():
                 if util is None:
                     continue
-                if interface and not iface.extends(interface, 0) and \
-                       util is not interface:
+                if interface and not iface.extends(interface, 0):
                     continue
                 utilities[(name, util)] = None
 




More information about the Zope3-Checkins mailing list