summaryrefslogtreecommitdiff
path: root/contrib/cirrus/packer/Makefile
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-10-29 10:45:08 -0400
committerChris Evich <cevich@redhat.com>2019-10-29 10:45:08 -0400
commitd4c80b755e081e13bbb58fb5376f0aa21ed0ea75 (patch)
tree6732f53d66f6027c03736ebb64d9f802f97c2e2d /contrib/cirrus/packer/Makefile
parenta56131fef4a82824b397c94f6b7edcdb24769624 (diff)
downloadpodman-d4c80b755e081e13bbb58fb5376f0aa21ed0ea75.tar.gz
podman-d4c80b755e081e13bbb58fb5376f0aa21ed0ea75.tar.bz2
podman-d4c80b755e081e13bbb58fb5376f0aa21ed0ea75.zip
Cirrus: Fix minor python deprecation warning
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/packer/Makefile')
-rw-r--r--contrib/cirrus/packer/Makefile2
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 \