From b4539d1f80150b29fdf994ca58287b04c61b059e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20=E2=80=9CFreso=E2=80=9D=20S=2E=20Olesen?= Date: Fri, 19 May 2017 19:07:16 +0200 Subject: [PATCH] Change "THOMAS" print statement to logger.debug() call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I left the "THOMAS" part in for now, but this seems more like a debug message than a user facing message to me—but it was also obviously something @thomasvs left in for himself, so maybe the whole if clause has no reason to still be there and should just get removed. --- whipper/program/cdparanoia.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/whipper/program/cdparanoia.py b/whipper/program/cdparanoia.py index aa5e2f9..6fabefb 100644 --- a/whipper/program/cdparanoia.py +++ b/whipper/program/cdparanoia.py @@ -121,8 +121,9 @@ class ProgressParser: def _parse_read(self, wordOffset): if wordOffset % common.WORDS_PER_FRAME != 0: - print 'THOMAS: not a multiple of %d: %d' % ( - common.WORDS_PER_FRAME, wordOffset) + logger.debug( + 'THOMAS: not a multiple of %d: %d' % ( + common.WORDS_PER_FRAME, wordOffset)) return frameOffset = wordOffset / common.WORDS_PER_FRAME