From 84f7b8a0789a9eb5be84ed0fe2285bece8f2d8fe Mon Sep 17 00:00:00 2001 From: ospalh Date: Wed, 7 Nov 2012 10:46:04 +0100 Subject: [PATCH] Don't print. --- dehashilator/dehashilator.py | 2 +- downloadaudio/download.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dehashilator/dehashilator.py b/dehashilator/dehashilator.py index 638465779..de12a7283 100644 --- a/dehashilator/dehashilator.py +++ b/dehashilator/dehashilator.py @@ -250,7 +250,7 @@ def dehashilate(): try: os.rename(src, dst) except OSError: - print u'Problem movivg {0} → {1}\n'.format(src, dst) + # print u'Problem movivg {0} → {1}\n'.format(src, dst) bad_mv_text += u'{0} → {1}\n'.format(src, dst) else: new_names_dict[old_name] = new_name diff --git a/downloadaudio/download.py b/downloadaudio/download.py index 37d70ef0f..a4b052692 100644 --- a/downloadaudio/download.py +++ b/downloadaudio/download.py @@ -245,7 +245,8 @@ def download_fields(note, general_data, japanese_data, language=None): dl_fname, dl_hash, extras = get_word_from_jpod(kanji, kana) except ValueError as ve: if "blacklist" in str(ve): - print 'Caught blacklist' + # print 'Caught blacklist' + pass continue except: continue