tripleo-heat-templates/tools
Takashi Kajinami 7e00042633 Use yaml.safe_load to load YAML files
Since PyYAML 5.1, yaml.load without specifying the Loader option is
deprecated and shows the following warning.

YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated,
as the default Loader is unsafe.
Please read https://msg.pyyaml.org/load for full details.

This change replaces yaml.load by yaml.safe_load (which is effectively
same as adding Loader=yaml.SafeLoader) to get rid of that warning
message. Also, existing all usage of yaml.load with the Loader option
are also replaced so that we to make all implementation to load yaml
files consistent.

Closes-Bug: #1947373

Change-Id: Id44fa2354429b944fbc0809f63db558bb7de23f7
(cherry picked from commit 53040573ab)
(cherry picked from commit 8a4351664d)
2021-10-18 11:47:49 -04:00
..
check-up-to-date.sh Make krb-service-principal metadata per-Role 2019-04-05 14:22:20 +00:00
make_ceph_disk_list.py NodeDataLookup utility should rely on python env 2020-02-20 22:20:53 +00:00
merge-new-params-nic-config-script.py Pass Loader to yaml.load to remove YAMLLoadWarning 2019-09-06 13:29:16 +09:00
process-templates.py Add tags to THT network resources 2021-05-20 10:43:18 +02:00
releasenotes_tox.sh Add ReNo support 2017-01-13 14:35:27 -05:00
roles-data-generate-samples.sh Add in roles data validation 2017-07-07 09:51:40 -06:00
roles-data-generate.py Enforce pep8/pyflakes rule on python codes 2019-09-05 15:40:46 +09:00
roles-data-validation.sh Remove fluentd composable service 2019-08-29 13:52:55 +01:00
yaml-diff.py Enforce pep8/pyflakes rule on python codes 2019-09-05 15:40:46 +09:00
yaml-nic-config-2-script.py Use yaml.SafeLoader instead of yaml.FullLoader 2019-12-03 11:22:49 +00:00
yaml-validate.py Use yaml.safe_load to load YAML files 2021-10-18 11:47:49 -04:00