branch | stable |
changeset 4664 | bd5ecd5b9494 |
parent 4545 | 9b7b3303c515 |
child 4719 | aaed3f813ef8 |
--- a/selectors.py Tue Feb 23 12:52:57 2010 +0100 +++ b/selectors.py Tue Feb 23 12:59:30 2010 +0100 @@ -528,6 +528,9 @@ return 0 return 1 + def score_class(self, eclass, req): + return 1 # necessarily true if we're there + class implements(ImplementsMixIn, EClassSelector): """Return non-zero score for entity that are of the given type(s) or