diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2005-08-19 20:14:43 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2005-08-19 20:14:43 +0200 |
commit | 1de603c3e0cbe3f23fa70c41b592ae9f0a86ec99 (patch) | |
tree | 1d0fbde4c2bc9995062c9b86bbd1bee602407fc2 /parsers/html.py | |
parent | 9da865e3796c0c48e13ed3574f42b946c103a986 (diff) |
split problems into page problems (parsing errors, wrong links, etc) and link problems (errors retreiving the document)
git-svn-id: http://arthurdejong.org/svn/webcheck/webcheck@138 86f53f14-5ff3-0310-afe5-9b438ce3f40c
Diffstat (limited to 'parsers/html.py')
-rw-r--r-- | parsers/html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsers/html.py b/parsers/html.py index 95c77e4..7d5a7af 100644 --- a/parsers/html.py +++ b/parsers/html.py @@ -148,7 +148,7 @@ def parse(content, link): # check for parser errors if parser.errmsg is not None: debugio.debug("parsers.html.parse(): problem parsing html: "+parser.errmsg) - link.add_problem('problem parsing html: %s' % parser.errmsg) + link.add_pageproblem('problem parsing html: %s' % parser.errmsg) pass # flag that the link contains a valid page link.ispage = True |