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

Projects
None yet
2 participants
@nsoranzo
Copy link
Member

commented May 26, 2016

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

This comment has been minimized.

Copy link
Member

commented May 26, 2016

thanks @nsoranzo

@martenson martenson merged commit 35da049 into galaxyproject:dev May 26, 2016

4 checks passed

api test Build finished. 213 tests run, 0 skipped, 0 failed.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
framework test Build finished. 106 tests run, 0 skipped, 0 failed.
Details
toolshed test Build finished. 581 tests run, 0 skipped, 0 failed.
Details

@nsoranzo nsoranzo deleted the nsoranzo:log_warn branch Jun 1, 2016

@nsoranzo

This comment has been minimized.

Copy link
Member Author

commented Jun 2, 2016

xref: #1715

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.