rbrito/tunesviewer — Issue #14: Finish transitioning the debuggin prints to the `logging` module
Author: rbrito
Created: 2012-01-15 08:06:46+00:00
State: open

We should finish the transition of changing the various prints in the code to properly use the `logging` module that Python provides us.

A big part of the job has already been done, but there is still a lot left.

As a way to partly automate this, we can use the `2to3` tool and selectively pick which changes we are interested in (say, the change of python's syntax of exceptions), while ignoring, for the moment, the changes that are Python-3 specific.

One of those changes transforms print from a command to a function and this help at least 50% of the transition to use the `logging` module.