[Zodb-checkins] CVS: Zope3/lib/python/Interface/Registry - AdapterRegistry.py:1.2.8.4
   
    Jim Fulton
     
    jim@zope.com
       
    Thu, 24 Oct 2002 07:08:38 -0400
    
    
  
Update of /cvs-repository/Zope3/lib/python/Interface/Registry
In directory cvs.zope.org:/tmp/cvs-serv31910/lib/python/Interface/Registry
Modified Files:
      Tag: Zope3-Bangalore-TTW-Branch
	AdapterRegistry.py 
Log Message:
Fixed bug in getRegisteredMatching that failed caused data to be
ommitted that was registered to provide the requested interface.
=== Zope3/lib/python/Interface/Registry/AdapterRegistry.py 1.2.8.3 => 1.2.8.4 ===
--- Zope3/lib/python/Interface/Registry/AdapterRegistry.py:1.2.8.3	Thu Oct 24 01:52:05 2002
+++ Zope3/lib/python/Interface/Registry/AdapterRegistry.py	Thu Oct 24 07:08:37 2002
@@ -127,7 +127,7 @@
                 # Only provided specified
                 for (required, provided), (rprovided, o) in self._reg.items():
                     for p in provided_interfaces:
-                        if provided.extends(p):
+                        if provided.extends(p, 0):
                             r[required, rprovided] = o
                             break