cwconfig.py
brancholdstable
changeset 7083 b8e35cde46e9
parent 7031 a04621040cad
child 7086 0d63937991a5
--- a/cwconfig.py	Fri Mar 11 09:46:45 2011 +0100
+++ b/cwconfig.py	Wed Mar 16 09:37:46 2011 +0100
@@ -1182,6 +1182,10 @@
             SMTP_LOCK.release()
         return True
 
+    # 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(CubicWebNoAppConfiguration,
                 logging.getLogger('cubicweb.configuration'))