Merge pull request #4365 from cevich/safe_load

Cirrus: Fix minor python deprecation warning
This commit is contained in:
OpenShift Merge Robot 2019-10-30 18:10:16 +01:00 committed by GitHub
commit 9ba8dae0bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ guard-%:
fi;
%.json: %.yml
@python3 -c 'import json,yaml; json.dump( yaml.load(open("$<").read()), open("$@","w"), indent=2);'
@python3 -c 'import json,yaml; json.dump( yaml.safe_load(open("$<").read()), open("$@","w"), indent=2);'
${PACKER_DIST_FILENAME}:
@curl -L --silent --show-error \