No more prints #1373
Loading…
x
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