[PATCH] Fix YAML loader warning

Stephen Finucane stephen at that.guru
Fri Mar 22 00:19:38 AEDT 2019


On Fri, 2019-03-15 at 17:27 +1100, Daniel Axtens wrote:
> In my tests I'm seeing:
> /home/patchwork/patchwork/patchwork/tests/api/validator.py:229:
> YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated,
> as the default Loader is unsafe. Please read https://msg.pyyaml.org/load
> for full details.
> 
> Fix this by using the safe loader in the tests.
> 
> Signed-off-by: Daniel Axtens <dja at axtens.net>

Good call.

Reviewed-by: Stephen Finucane <stephen at that.guru>

and applied.

Stephen



More information about the Patchwork mailing list