0:f5aecaad0bcf | 1:4cdc9c1f6b28 |
---|---|
26 if not (os.path.exists(cfgfile) and os.path.isfile(cfgfile)): | 26 if not (os.path.exists(cfgfile) and os.path.isfile(cfgfile)): |
27 raise SystemExit(f'Configuration file required: {cfgfile}') | 27 raise SystemExit(f'Configuration file required: {cfgfile}') |
28 | 28 |
29 with io.open(cfgfile, 'r') as file: | 29 with io.open(cfgfile, 'r') as file: |
30 settings=expand_env(yaml.load(file), os.environ); | 30 settings=expand_env(yaml.load(file), os.environ); |
31 |