wsgi/handler.py
brancholdstable
changeset 7083 b8e35cde46e9
parent 5442 3ed8afbbdf70
child 8272 18893bb969d2
--- a/wsgi/handler.py	Fri Mar 11 09:46:45 2011 +0100
+++ b/wsgi/handler.py	Wed Mar 16 09:37:46 2011 +0100
@@ -193,6 +193,10 @@
             content = self.appli.need_login_content(req)
         return WSGIResponse(code, req, content)
 
+    # 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
+
 
 from logging import getLogger
 from cubicweb import set_log_methods