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

Python3: use log.warning() instead of deprecated log.warn() #2420

Merged
merged 1 commit into from May 26, 2016

Conversation

nsoranzo
Copy link
Member

$ python3 -Wd -c 'import logging; logging.warn("foo")'
-c:1: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead
WARNING:root:foo

$ python3 -Wd -c 'import logging; logging.warn("foo")'
-c:1: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead
WARNING:root:foo
@martenson
Copy link
Member

thanks @nsoranzo

@martenson martenson merged commit 35da049 into galaxyproject:dev May 26, 2016
@nsoranzo nsoranzo deleted the log_warn branch June 1, 2016 10:22
@nsoranzo
Copy link
Member Author

nsoranzo commented Jun 2, 2016

xref: #1715

@nsoranzo nsoranzo added the area/python3 Specific to Python 3 label Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants