]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fixed logging.
authorOleg Broytman <phd@phdru.name>
Thu, 6 Jan 2011 19:11:54 +0000 (19:11 +0000)
committerOleg Broytman <phd@phdru.name>
Thu, 6 Jan 2011 19:11:54 +0000 (19:11 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@324 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

parse_html/bkmk_parse_html.py

index 42cb5ce1575abf2f0e1eb073943ca62240bcccb2..162c29c1456b5a615f6c4e4bda49a2a056e11815 100644 (file)
@@ -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):