selectors.py
branchtls-sprint
changeset 1784 f0fb914e57db
parent 1694 d7990e3478b2
child 1887 7e19c94ce0d7
child 1907 0f3363d24239
--- 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