(filename)
| 149 | |
| 150 | @staticmethod |
| 151 | def fromfile(filename): |
| 152 | cfg_dict, cfg_text = Config._file2dict(filename) |
| 153 | return Config(cfg_dict, cfg_text=cfg_text, filename=filename) |
| 154 | |
| 155 | def __init__(self, cfg_dict=None, cfg_text=None, filename=None): |
| 156 | if cfg_dict is None: |
nothing calls this directly
no test coverage detected