From 2e0f32353f5e3dffcc8f29239c272f04907e06e0 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 7 May 2006 09:12:25 +0000 Subject: some more small code improvements thanks to pychecker git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@252 86f53f14-5ff3-0310-afe5-9b438ce3f40c --- parsers/html.py | 1 + 1 file changed, 1 insertion(+) (limited to 'parsers/html.py') diff --git a/parsers/html.py b/parsers/html.py index fbbe865..4d91c85 100644 --- a/parsers/html.py +++ b/parsers/html.py @@ -106,6 +106,7 @@ class _MyHTMLParser(HTMLParser.HTMLParser): return HTMLParser.HTMLParser.check_for_whole_start_tag(self, i) except AssertionError: debugio.debug('parsers.html._MyHTMLParser.check_for_whole_start_tag(): caught assertion error') + return None def handle_starttag(self, tag, attrs): """Handle start tags in html.""" -- cgit v1.2.3