equal
deleted
inserted
replaced
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 |