Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it safer to load YAML in /example/download_speech_corpus.py #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tats-u
Copy link
Collaborator

@tats-u tats-u commented Apr 24, 2019

yaml.load without designating Loader argument complains:

download_speech_corpus.py:471: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  self.all_configs = yaml.load(f)

yaml.safe_load is equivalent to yaml.load designating Loader as safe one.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 89.091% when pulling c5be863 on tats-u:fix-dl-data into 3d733fc on k2kobayashi:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants