diff options
author | Chris Evich <cevich@redhat.com> | 2019-10-29 10:45:08 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2019-10-29 10:45:08 -0400 |
commit | d4c80b755e081e13bbb58fb5376f0aa21ed0ea75 (patch) | |
tree | 6732f53d66f6027c03736ebb64d9f802f97c2e2d | |
parent | a56131fef4a82824b397c94f6b7edcdb24769624 (diff) | |
download | podman-d4c80b755e081e13bbb58fb5376f0aa21ed0ea75.tar.gz podman-d4c80b755e081e13bbb58fb5376f0aa21ed0ea75.tar.bz2 podman-d4c80b755e081e13bbb58fb5376f0aa21ed0ea75.zip |
Cirrus: Fix minor python deprecation warning
Signed-off-by: Chris Evich <cevich@redhat.com>
-rw-r--r-- | contrib/cirrus/packer/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/cirrus/packer/Makefile b/contrib/cirrus/packer/Makefile index 947a2a1e9..fa87d7019 100644 --- a/contrib/cirrus/packer/Makefile +++ b/contrib/cirrus/packer/Makefile @@ -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 \ |