Commit b331ff2
committed
Defer .cbi/config loading until required
Loading the configuration file when the module is imported can lead to a
situation where an exception is thrown before logging is configured.
Signed-off-by: John Pennycook <[email protected]>1 parent 566a0a6 commit b331ff2
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | 252 | | |
258 | 253 | | |
259 | 254 | | |
| |||
293 | 288 | | |
294 | 289 | | |
295 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
296 | 295 | | |
297 | 296 | | |
298 | 297 | | |
| |||
0 commit comments