Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2006-01-26 00:16:32 +0100
committerArthur de Jong <arthur@arthurdejong.org>2006-01-26 00:16:32 +0100
commit8ee72fceec47100bd1811a538c1554cd3b7613a9 (patch)
treecbebe8118a213d8a0731d5ee341b2007c64fe62b
parentb5716d5bec40410b5abbf2120cb5a18789a759a3 (diff)
fix typo (thanks Andrew Kim <Andrew.Kim@revolution.com>)
git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@218 86f53f14-5ff3-0310-afe5-9b438ce3f40c
-rw-r--r--parsers/html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/parsers/html.py b/parsers/html.py
index eae68e4..c15043e 100644
--- a/parsers/html.py
+++ b/parsers/html.py
@@ -108,7 +108,7 @@ class _MyHTMLParser(HTMLParser.HTMLParser):
try:
return HTMLParser.HTMLParser.check_for_whole_start_tag(self, i)
except AssertionError, e:
- debugio.debug("parsers.html._MyHTMLParser.check_for_whole_start_tag(): caugt assertion error")
+ debugio.debug("parsers.html._MyHTMLParser.check_for_whole_start_tag(): caught assertion error")
def handle_starttag(self, tag, attrs):
"""Handle start tags in html."""
@@ -228,7 +228,7 @@ def parse(content, link):
parser.close()
except Exception, e:
# ignore (but log) all errors
- debugio.debug("parsers.html.parse(): caugt exception: "+str(e))
+ debugio.debug("parsers.html.parse(): caught exception: "+str(e))
# check for parser errors
if parser.errmsg is not None:
debugio.debug("parsers.html.parse(): problem parsing html: "+parser.errmsg)