squaresLab / BugZoo

Keep your bugs contained. A platform for studying historical software bugs.
https://squareslab.github.io/BugZoo
MIT License
67 stars 12 forks source link

Use YAML safe load to avoid deprecation warnings #333

Closed ChrisTimperley closed 5 years ago

ChrisTimperley commented 5 years ago
(manybugs) [chris@atlantis manybugs]$ bugzoo bug build manybugs:python:69223-69224
/home/chris/.local/share/virtualenvs/manybugs-MRhzAlsF/lib/python3.7/site-packages/bugzoo/mgr/source.py:83: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  registry = yaml.load(f)
/home/chris/.local/share/virtualenvs/manybugs-MRhzAlsF/lib/python3.7/site-packages/bugzoo/mgr/source.py:192: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  yml = yaml.load(f)