summaryrefslogtreecommitdiffstats
path: root/lava-slave-base/Dockerfile
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-09-03 14:57:37 +0200
committerCorentin LABBE <clabbe@baylibre.com>2019-09-03 14:57:37 +0200
commit57bfd7462de249be794db3d015e7aa8177891863 (patch)
tree63f92d5c2c23a1842e65154129d74a26838bc0ce /lava-slave-base/Dockerfile
parent12aa09489580123698d1f791b01daf8371fa0228 (diff)
Use yaml safe_load insteald of load
On my gentoo, using yaml.load now give: Traceback (most recent call last): raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348") RuntimeError: Unsafe load() call disabled by Gentoo. See bug #659348 Note that on recent ubuntu, a warning appears also. 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 is due to a security risk of using yaml.load() Since we didnt rely on any behavour provided by load(), let's convert the call to safe_load().
Diffstat (limited to 'lava-slave-base/Dockerfile')
0 files changed, 0 insertions, 0 deletions