mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-27 07:13:59 +00:00
cleanup
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3438 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
4b818cb4b3
commit
15dfaf35cb
1 changed files with 2 additions and 2 deletions
|
|
@ -411,8 +411,8 @@ class UrlBase (object):
|
||||||
# make nicer error msg for bad status line
|
# make nicer error msg for bad status line
|
||||||
if isinstance(value, linkcheck.httplib2.BadStatusLine):
|
if isinstance(value, linkcheck.httplib2.BadStatusLine):
|
||||||
value = _('Bad HTTP response %r') % str(value)
|
value = _('Bad HTTP response %r') % str(value)
|
||||||
self.set_result(linkcheck.strformat.unicode_safe(value),
|
uvalue = linkcheck.strformat.unicode_safe(value)
|
||||||
valid=False)
|
self.set_result(uvalue, valid=False)
|
||||||
|
|
||||||
# check content
|
# check content
|
||||||
warningregex = self.aggregate.config["warningregex"]
|
warningregex = self.aggregate.config["warningregex"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue