diff -r d9e6e79e023a -r 076c5be627f6 web/application.py --- a/web/application.py Thu Mar 17 12:03:50 2011 +0100 +++ b/web/application.py Thu Mar 17 12:14:58 2011 +0100 @@ -234,6 +234,9 @@ req.remove_cookie(req.get_cookie(), sessioncookie) raise LogOut(url=goto_url) + # these are overridden by set_log_methods below + # only defining here to prevent pylint from complaining + info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None class CubicWebPublisher(object): """the publisher is a singleton hold by the web frontend, and is responsible @@ -458,6 +461,9 @@ template = 'main-template' return template + # these are overridden by set_log_methods below + # only defining here to prevent pylint from complaining + info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None set_log_methods(CubicWebPublisher, LOGGER) set_log_methods(CookieSessionHandler, LOGGER)