-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
[IMP] *: warn -> warning #274
Conversation
Logger.warn() is deprecated in last python versions, and we should try to avoid filling logs with useless DeprecationWarning's.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thnaks.
But is this supported in all expected Python versions? That's from 2.7 |
https://python.readthedocs.io/en/v2.7.2/library/logging.html#logging.warning |
OK then: /ocabot merge nobump |
This PR looks fantastic, let's merge it! |
It looks like something changed on |
Congratulations, your PR was merged at 2c57a5d. Thanks a lot for contributing to OCA. ❤️ |
Logger.warn() is deprecated in last python versions, and we should try to avoid filling logs with useless DeprecationWarning's.