snehring / zfsbackup

Quick and easy program to do one way sends of zfs datasets for backup purposes
MIT License
0 stars 1 forks source link

Fix a warning in newer versions of pyyaml #13

Closed snehring closed 5 years ago

snehring commented 5 years ago

Starting with pyyaml 5.1 the load function emits a warning on use. We're technically safe from the issue that prompted this function being deprecated, but we're also not using any of the features that doing anything other than safe_load gives us. So this just changes the call to load() with safe_load().