Fri, 30 Oct 2020 14:09:39 -0500
Fix YAML warning
borgend/config.py | file | annotate | diff | comparison | revisions |
--- a/borgend/config.py Tue Apr 21 10:12:19 2020 -0500 +++ b/borgend/config.py Fri Oct 30 14:09:39 2020 -0500 @@ -155,7 +155,7 @@ logger.info("Reading configuration %s missing" % locations.cfgfile) with io.open(locations.cfgfile, 'r') as file: - settings=expand_env(yaml.load(file), os.environ); + settings=expand_env(yaml.load(file, Loader=yaml.FullLoader), os.environ); # # Verify basic settings