]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
nuke: s/yaml.load/yaml.safe_load/ 1509/head
authorKefu Chai <kchai@redhat.com>
Wed, 17 Jun 2020 08:48:15 +0000 (16:48 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 17 Jun 2020 08:48:39 +0000 (16:48 +0800)
commita825409240e2bd549e655c890985469513ba4bde
treeb569df1e09988872a934b1d5cf3d00bf34c4987e
parent74847c3bf66697f38550d80f3bfa458fb519a409
nuke: s/yaml.load/yaml.safe_load/

to silence 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.

Signed-off-by: Kefu Chai <kchai@redhat.com>
teuthology/nuke/__init__.py