# HG changeset patch # User Sylvain Thénault # Date 1273143469 -7200 # Node ID b7b96b8decf1536496c4a613ecd96ceccff4928e # Parent ded032692cb92a67c27c54bfc5c6e6461c9941fc [selectors] fix no_cnx selector's prototype diff -r ded032692cb9 -r b7b96b8decf1 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.