[selectors] fix no_cnx selector's prototype stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 06 May 2010 12:57:49 +0200
branchstable
changeset 5490 b7b96b8decf1
parent 5488 ded032692cb9
child 5491 0a6e6fccfd30
[selectors] fix no_cnx selector's prototype
selectors.py
--- a/selectors.py	Thu May 06 08:25:02 2010 +0200
+++ b/selectors.py	Thu May 06 12:57:49 2010 +0200
@@ -1052,7 +1052,7 @@
 
 @objectify_selector
 @lltrace
-def no_cnx(cls, req, rset, *args, **kwargs):
+def no_cnx(cls, req, **kwargs):
     """Return 1 if the web session has no connection set. This occurs when
     anonymous access is not allowed and user isn't authenticated.