# HG changeset patch # User Alexandre Fayolle # Date 1300265157 -3600 # Node ID 376314ebf2733fba5dce486cecb890ce579f027c # Parent 36e91d19188b8807ae9db11d32dcb1353cb8475d fix pylint helper methods: need a classmathod in cwconfig.py diff -r 36e91d19188b -r 376314ebf273 cwconfig.py --- a/cwconfig.py Wed Mar 16 09:40:56 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'))