mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-02 06:00:39 +00:00
Avoid u-prefixed strings
linkchecker is Python 3 only, all strings are unicode.
This commit is contained in:
parent
f268a90cfb
commit
dcafa2df75
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ class HttpUrl(internpaturl.InternPatternUrl, proxysupport.ProxySupport):
|
|||
tag=WARN_HTTP_EMPTY_CONTENT)
|
||||
|
||||
if self.url_connection.status_code == 429:
|
||||
self.add_warning(u"Rate limited (Retry-After: %s)" % self.getheader(_("Retry-After")),
|
||||
self.add_warning("Rate limited (Retry-After: %s)" % self.getheader(_("Retry-After")),
|
||||
tag=WARN_URL_RATE_LIMITED)
|
||||
|
||||
if self.url_connection.status_code >= 200:
|
||||
|
|
|
|||
Loading…
Reference in a new issue