From c140b510b14d5474e883a029da6f9fab719b174d Mon Sep 17 00:00:00 2001 From: calvin Date: Wed, 13 Jul 2005 19:33:26 +0000 Subject: [PATCH] fix warning tags git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2746 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/checker/httpurl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linkcheck/checker/httpurl.py b/linkcheck/checker/httpurl.py index c18bf918..bbf169f3 100644 --- a/linkcheck/checker/httpurl.py +++ b/linkcheck/checker/httpurl.py @@ -135,7 +135,7 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport): # remove all previously stored results self.add_warning( _("Access denied by robots.txt, checked only syntax."), - linkcheck.checker.WARN_HTTP_ROBOTS_DENIED) + tag="http-robots-denied") self.set_result(u"syntax OK") return # check for amazon server quirk @@ -158,7 +158,7 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport): if self.no_anchor: self.add_warning(_("Server %r had no anchor support, removed"\ " anchor from request.") % server, - linkcheck.checker.WARN_HTTP_NO_ANCHOR_SUPPORT) + tag="http-no-anchor-support") # redirections might have changed the URL newurl = urlparse.urlunsplit(self.urlparts) if self.url != newurl: