mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-02 14:10:24 +00:00
better msg
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2564 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
532a04e436
commit
bf8fd348aa
1 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ def urljoin (parent, url, scheme):
|
|||
"""
|
||||
If url is relative, join parent and url. Else leave url as-is.
|
||||
|
||||
@return join url
|
||||
@return joined url
|
||||
"""
|
||||
if url.startswith(scheme+":"):
|
||||
return url
|
||||
|
|
@ -297,7 +297,7 @@ class UrlBase (object):
|
|||
the URL %r instead.""") % (self.base_url, base_url))
|
||||
elif self.base_url != base_url:
|
||||
self.add_warning(
|
||||
_("Base URL is not properly normed. Normed url is %(url)r.") % \
|
||||
_("Base URL is not properly normed. Normed URL is %(url)s.") % \
|
||||
{'url': base_url})
|
||||
# make url absolute
|
||||
if self.base_ref:
|
||||
|
|
|
|||
Loading…
Reference in a new issue