author | sylvain.thenault@logilab.fr |
Wed, 13 May 2009 15:06:02 +0200 | |
branch | tls-sprint |
changeset 1784 | f0fb914e57db |
parent 1783 | b81f9761907c |
child 1785 | 01245e2a777d |
selectors.py | file | annotate | diff | comparison | revisions |
--- a/selectors.py Wed May 13 15:05:38 2009 +0200 +++ b/selectors.py Wed May 13 15:06:02 2009 +0200 @@ -124,8 +124,7 @@ return len(parents) + 4 if iface is parents[-1]: # Any return 1 - for index, etype in enumerate(reversed(parents[:-1])): - basecls = vreg.etype_class(etype) + for index, basecls in enumerate(reversed(parents[:-1])): if iface is basecls: return index + 3 return 0