From 5c1c16d3e1a5fdf4ea1ecc6c31f5e4c6a4240bed Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 16 Dec 2007 21:36:13 +0000 Subject: [PATCH] Direct return. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@109 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/parse_html_beautifulsoup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 \ -- 2.39.5