diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2006-05-07 11:12:25 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2006-05-07 11:12:25 +0200 |
commit | 2e0f32353f5e3dffcc8f29239c272f04907e06e0 (patch) | |
tree | 59a53842bf8a8dbed15b4d8b52945ad4120f5620 /parsers/html.py | |
parent | 76170833713c2fc72cefbefa28b8c7ef6a47ef80 (diff) |
some more small code improvements thanks to pychecker
git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@252 86f53f14-5ff3-0310-afe5-9b438ce3f40c
Diffstat (limited to 'parsers/html.py')
-rw-r--r-- | parsers/html.py | 1 |
1 files changed, 1 insertions, 0 deletions
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.""" |