git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3438 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2006-09-15 16:36:44 +00:00
parent 4b818cb4b3
commit 15dfaf35cb

View file

@ -411,8 +411,8 @@ class UrlBase (object):
# make nicer error msg for bad status line
if isinstance(value, linkcheck.httplib2.BadStatusLine):
value = _('Bad HTTP response %r') % str(value)
self.set_result(linkcheck.strformat.unicode_safe(value),
valid=False)
uvalue = linkcheck.strformat.unicode_safe(value)
self.set_result(uvalue, valid=False)
# check content
warningregex = self.aggregate.config["warningregex"]