(cfg_file)
| 33 | |
| 34 | |
| 35 | def load_config(cfg_file): |
| 36 | with open(cfg_file, "r") as fin: |
| 37 | raw_text = fin.read() |
| 38 | cfg = yaml.load(raw_text, Loader=yaml.CLoader) |
| 39 | cfg = easydict.EasyDict(cfg) |
| 40 | |
| 41 | return cfg |
| 42 | |
| 43 | |
| 44 | def get_root_logger(file=True): |
nothing calls this directly
no outgoing calls
no test coverage detected