mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-10 07:34:44 +00:00
fix warning tags
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2746 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
157cf36893
commit
c140b510b1
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue