# HG changeset patch # User Alexandre Fayolle # Date 1300265157 -3600 # Node ID 0d63937991a5e61d39fc31a01c9bc28d43080090 # Parent dc5cdfec1393b3dabf5dd5e6cea8a08b2d0fd0e5 fix pylint helper methods: need a classmathod in cwconfig.py diff -r dc5cdfec1393 -r 0d63937991a5 cwconfig.py --- 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'))