From da0bea21809e4440b7dbdaf01d51b8f6ce58eca1 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Fri, 8 Oct 2010 13:46:41 +0200 Subject: [PATCH] display debug message only in debug mode --- weboob/backends/fourchan/test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weboob/backends/fourchan/test.py b/weboob/backends/fourchan/test.py index f179983a..94f8fa2d 100644 --- a/weboob/backends/fourchan/test.py +++ b/weboob/backends/fourchan/test.py @@ -32,10 +32,10 @@ class FourChanTest(BackendTest): debug('Count: %s' % count) tot += count - print 'Total messages: %s' % tot + debug('Total messages: %s' % tot) count = 0 for message in self.backend.iter_unread_messages(): count += 1 - print 'Unread messages: %s' % count + debug('Unread messages: %s' % count)