missing underscore leads to infinite recursion error
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 10 Dec 2009 10:36:17 +0100
changeset 4102 5ba6df5fcb07
parent 4101 7fa86fa51229
child 4103 dc04bede3502
missing underscore leads to infinite recursion error
selectors.py
--- a/selectors.py	Wed Dec 09 19:27:46 2009 +0100
+++ b/selectors.py	Thu Dec 10 10:36:17 2009 +0100
@@ -946,7 +946,7 @@
     :param *etypes: entity types (`basestring`) which should be refused
     """
     def __init__(self, *etypes):
-        super(but_etype, self).__init__()
+        super(_but_etype, self).__init__()
         self.but_etypes = etypes
 
     def score(self, req, rset, row, col):