]> git.phdru.name Git - bookmarks_db.git/commitdiff
Direct return.
authorOleg Broytman <phd@phdru.name>
Sun, 16 Dec 2007 21:36:13 +0000 (21:36 +0000)
committerOleg Broytman <phd@phdru.name>
Sun, 16 Dec 2007 21:36:13 +0000 (21:36 +0000)
git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@109 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23

Robots/parse_html_beautifulsoup.py

index 130b20a7ca8f53a472526125be0390b029251c78..c8e8f5db54af91c96a439584d09ade66b094de46 100644 (file)
@@ -49,8 +49,7 @@ def parse_html(filename, charset=None):
       else:
          icon = None
 
-   parser = BSoupParser(_charset, _charset == charset, title, refresh, icon)
-   return parser
+   return BSoupParser(_charset, _charset == charset, title, refresh, icon)
 
 def _find_refresh(Tag):
    return (Tag.name == "meta") and \