From: Oleg Broytman Date: Thu, 6 Jan 2011 19:11:54 +0000 (+0000) Subject: Fixed logging. X-Git-Tag: v4.5.3~52 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=9cc1d56e39512603672c51f263f0b6080ec1c3c2;p=bookmarks_db.git Fixed logging. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@324 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- diff --git a/parse_html/bkmk_parse_html.py b/parse_html/bkmk_parse_html.py index 42cb5ce..162c29c 100644 --- a/parse_html/bkmk_parse_html.py +++ b/parse_html/bkmk_parse_html.py @@ -119,7 +119,7 @@ def parse_html(filename, charset=None, log=None): pass else: if parser: - if log: log(" Parser %s: ok" % p.__module__) + #if log: log(" Parser %s: ok" % p.__module__) #_parsers.append(parser) break else: @@ -133,7 +133,7 @@ def parse_html(filename, charset=None, log=None): return None #parser = _parsers[0] - if log: log(" Using %s" % parser.__module__) + if log: log(" Using %s" % p.__module__) converted_title = title = parser.title if title and (not parser.charset):