this PR just converts print statements that are not in if __name__ == "__main__": or obvious test() functions to use the logging module. logger = logging.getLogger(__name__) was used where logging was not already imported. The one that crops up the most is the print statement in the try/except when loading a config file at ~/.gputools that does not exist.
this PR just converts print statements that are not in
if __name__ == "__main__":
or obvioustest()
functions to use the logging module.logger = logging.getLogger(__name__)
was used where logging was not already imported. The one that crops up the most is the print statement in the try/except when loading a config file at ~/.gputools that does not exist.