[selectors] close #1333238: appobject_selectable with multiple regids fails stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 19 Oct 2010 10:04:50 +0200
branchstable
changeset 6541 9c3821885443
parent 6535 972bd504daf6
child 6552 256725d4e3ec
[selectors] close #1333238: appobject_selectable with multiple regids fails
selectors.py
--- a/selectors.py	Mon Oct 18 11:04:19 2010 +0200
+++ b/selectors.py	Tue Oct 19 10:04:50 2010 +0200
@@ -450,7 +450,8 @@
                 req.vreg[self.registry].select(regid, req, **kwargs)
                 return self.selectable_score
             except NoSelectableObject:
-                return 0
+                continue
+        return 0
 
 
 class adaptable(appobject_selectable):