153 raise SystemExit("Configuration file required: %s" % locations.cfgfile) |
153 raise SystemExit("Configuration file required: %s" % locations.cfgfile) |
154 |
154 |
155 logger.info("Reading configuration %s missing" % locations.cfgfile) |
155 logger.info("Reading configuration %s missing" % locations.cfgfile) |
156 |
156 |
157 with io.open(locations.cfgfile, 'r') as file: |
157 with io.open(locations.cfgfile, 'r') as file: |
158 settings=expand_env(yaml.load(file), os.environ); |
158 settings=expand_env(yaml.load(file, Loader=yaml.FullLoader), os.environ); |
159 |
159 |
160 # |
160 # |
161 # Verify basic settings |
161 # Verify basic settings |
162 # |
162 # |
163 |
163 |