cwconfig.py
brancholdstable
changeset 7086 0d63937991a5
parent 7083 b8e35cde46e9
child 7129 455b503fb7ff
child 7178 a62f24e1497e
equal deleted inserted replaced
7084:dc5cdfec1393 7086:0d63937991a5
  1182             SMTP_LOCK.release()
  1182             SMTP_LOCK.release()
  1183         return True
  1183         return True
  1184 
  1184 
  1185     # these are overridden by set_log_methods below
  1185     # these are overridden by set_log_methods below
  1186     # only defining here to prevent pylint from complaining
  1186     # only defining here to prevent pylint from complaining
  1187     info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None
  1187     @classmethod
       
  1188     def debug(cls, msg, *a, **kw):
       
  1189         pass
       
  1190     info = warning = error = critical = exception = debug 
  1188 
  1191 
  1189 set_log_methods(CubicWebNoAppConfiguration,
  1192 set_log_methods(CubicWebNoAppConfiguration,
  1190                 logging.getLogger('cubicweb.configuration'))
  1193                 logging.getLogger('cubicweb.configuration'))
  1191 
  1194 
  1192 # alias to get a configuration instance from an instance id
  1195 # alias to get a configuration instance from an instance id