cwconfig.py
brancholdstable
changeset 7083 b8e35cde46e9
parent 7031 a04621040cad
child 7086 0d63937991a5
equal deleted inserted replaced
7074:e4580e5f0703 7083:b8e35cde46e9
  1180             smtp.close()
  1180             smtp.close()
  1181         finally:
  1181         finally:
  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
       
  1186     # only defining here to prevent pylint from complaining
       
  1187     info = warning = error = critical = exception = debug = lambda msg,*a,**kw: None
       
  1188 
  1185 set_log_methods(CubicWebNoAppConfiguration,
  1189 set_log_methods(CubicWebNoAppConfiguration,
  1186                 logging.getLogger('cubicweb.configuration'))
  1190                 logging.getLogger('cubicweb.configuration'))
  1187 
  1191 
  1188 # alias to get a configuration instance from an instance id
  1192 # alias to get a configuration instance from an instance id
  1189 instance_configuration = CubicWebConfiguration.config_for
  1193 instance_configuration = CubicWebConfiguration.config_for