From: Oleg Broytman Date: Sun, 16 Dec 2007 21:36:13 +0000 (+0000) Subject: Direct return. X-Git-Tag: v4.5.3~267 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=5c1c16d3e1a5fdf4ea1ecc6c31f5e4c6a4240bed;p=bookmarks_db.git Direct return. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@109 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- diff --git a/Robots/parse_html_beautifulsoup.py b/Robots/parse_html_beautifulsoup.py index 130b20a..c8e8f5d 100644 --- a/Robots/parse_html_beautifulsoup.py +++ b/Robots/parse_html_beautifulsoup.py @@ -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 \