Page MenuHomeSoftware Heritage

cli_utils: Use yaml.safe_load instead of yaml.load
ClosedPublic

Authored by olasd on Apr 10 2019, 4:16 PM.

Details

Summary

yaml.load is unsafe (can call arbitrary Python code) and throws a DeprecationWarning these days

Test Plan

tox

Diff Detail

Repository
rDSCH Scheduling utilities
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

olasd created this revision.Apr 10 2019, 4:16 PM
olasd updated this revision to Diff 4512.Apr 10 2019, 8:41 PM

Rebase

vlorentz accepted this revision.Apr 11 2019, 10:03 AM
This revision is now accepted and ready to land.Apr 11 2019, 10:03 AM
This revision was automatically updated to reflect the committed changes.