No more prints #1373
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-16#1373
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There are still occasions where
print
has remained and should be replaced by thelogger.*
. Some can remain, e.g. the notification about daemonizing or missing dependencies. This issue will be updated as I find more locations.src/api.py
@PeterSurda can we be clear about scope and expected results please? Some thoughts that come to mind:
Quick check of the scale of this task:
12
logger.exception()
calls12
logger.fatal()
calls13
logger.critical()
calls20
logger.warning()
calls167
logger.info()
calls185
logger.debug()
calls467 (approx)
print
statementsI have removed the print statement of the api.py module.
https://github.com/Bitmessage/PyBitmessage/pull/1673