cwconfig.py
brancholdstable
changeset 7086 0d63937991a5
parent 7083 b8e35cde46e9
child 7129 455b503fb7ff
child 7178 a62f24e1497e
--- a/cwconfig.py	Wed Mar 16 09:40:11 2011 +0100
+++ b/cwconfig.py	Wed Mar 16 09:45:57 2011 +0100
@@ -1184,7 +1184,10 @@
 
     # 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
+    @classmethod
+    def debug(cls, msg, *a, **kw):
+        pass
+    info = warning = error = critical = exception = debug 
 
 set_log_methods(CubicWebNoAppConfiguration,
                 logging.getLogger('cubicweb.configuration'))