Skip to content
New issue

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

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

Already on GitHub? # to your account

YAMLLoadWarning #1

Open
m214089 opened this issue Apr 24, 2019 · 0 comments
Open

YAMLLoadWarning #1

m214089 opened this issue Apr 24, 2019 · 0 comments

Comments

@m214089
Copy link

m214089 commented Apr 24, 2019

Hi,

when using ezldap I get:

ezldap/config.py:21: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

As I understood, this can be fixed using an additional argument in yaml.load:
Loader=yaml.SafeLoader

Cheerio,
Luis

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

No branches or pull requests

1 participant