fix specfied_etype_implements's __call__ prototype tls-sprint
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 18 Feb 2009 15:16:13 +0100
branchtls-sprint
changeset 790 f476dad65ab2
parent 788 d62fb3e9797d
child 794 b2f962292dbf
fix specfied_etype_implements's __call__ prototype
selectors.py
--- a/selectors.py	Wed Feb 18 15:02:10 2009 +0100
+++ b/selectors.py	Wed Feb 18 15:16:13 2009 +0100
@@ -561,7 +561,7 @@
     """
     
     @lltrace
-    def __call__(cls, req, *args, **kwargs):
+    def __call__(self, cls, req, *args, **kwargs):
         try:
             etype = req.form['etype']
         except KeyError: