From d4d9255c90fb65adf5a8d8d03b55d558b77fe756 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 4 Mar 2008 09:37:45 +0000 Subject: [PATCH] Do not log TypeError. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@193 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/parse_html_beautifulsoup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Robots/parse_html_beautifulsoup.py b/Robots/parse_html_beautifulsoup.py index 3c52ce4..162e7a3 100644 --- a/Robots/parse_html_beautifulsoup.py +++ b/Robots/parse_html_beautifulsoup.py @@ -54,7 +54,6 @@ def parse_html(filename, charset=None, log=None): try: root = BadDeclParser(infile, fromEncoding=charset) except TypeError: - if log: log("TypeError") return None finally: infile.close() -- 2.39.5