]> git.phdru.name Git - bookmarks_db.git/commitdiff
Do not log TypeError.
authorOleg Broytman <phd@phdru.name>
Tue, 4 Mar 2008 09:37:45 +0000 (09:37 +0000)
committerOleg Broytman <phd@phdru.name>
Tue, 4 Mar 2008 09:37:45 +0000 (09:37 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@193 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Robots/parse_html_beautifulsoup.py

index 3c52ce402f026876fdc2be8b7dc15613e2eeebcb..162e7a37dabd218df12aaf14e50c14e70f778177 100644 (file)
@@ -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()