diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2019-09-03 14:57:37 +0200 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2019-09-03 14:57:37 +0200 |
commit | 57bfd7462de249be794db3d015e7aa8177891863 (patch) | |
tree | 63f92d5c2c23a1842e65154129d74a26838bc0ce /README.md | |
parent | 12aa09489580123698d1f791b01daf8371fa0228 (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 'README.md')
0 files changed, 0 insertions, 0 deletions