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

Amend logging statements to use deferred interpolation #1

Merged
merged 1 commit into from
Feb 21, 2021

Conversation

praxiscode
Copy link
Contributor

Skipping .format() avoids formatting the message if the log level would
not otherwise emit the message.

Skipping .format() avoids formatting the message if the log level would
not otherwise emit the message.
@KM4YRI KM4YRI merged commit 76867aa into KM4YRI:master Feb 21, 2021
@KM4YRI
Copy link
Owner

KM4YRI commented Feb 21, 2021

Sorry for the delay on this, I took a bit of a hiatus from ham radio but I'm back. I'm going to merge this one but %r is considered deprecated so I'll change those to %a in a future commit if that's alright. The latter is a holdover from Python 2, and I don't think it's going away, but since the library was written for Python 3, I think the latter would be more appropriate.

edit: See commit a55df23

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