mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-16 12:21:13 +00:00
uses linkcheck.StringUtil
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@483 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
731115793e
commit
a8217caf80
2 changed files with 3 additions and 3 deletions
|
|
@ -99,11 +99,11 @@ class ColoredLogger (StandardLogger):
|
|||
if urlData.infoString and self.logfield("info"):
|
||||
if self.prefix:
|
||||
self.fd.write("| "+linkcheck._("Info")+Spaces["info"]+
|
||||
StringUtil.indentWith(StringUtil.blocktext(
|
||||
linkcheck.StringUtil.indentWith(linkcheck.StringUtil.blocktext(
|
||||
urlData.infoString, 65), "| "+Spaces["info"]))
|
||||
else:
|
||||
self.fd.write(linkcheck._("Info")+Spaces["info"]+
|
||||
StringUtil.indentWith(StringUtil.blocktext(
|
||||
linkcheck.StringUtil.indentWith(linkcheck.StringUtil.blocktext(
|
||||
urlData.infoString, 65), " "+Spaces["info"]))
|
||||
self.fd.write(self.colorreset+"\n")
|
||||
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ class HtmlLogger (StandardLogger):
|
|||
"</td></tr>\n")
|
||||
if urlData.infoString and self.logfield("info"):
|
||||
self.fd.write("<tr><td>"+linkcheck._("Info")+"</td><td>"+
|
||||
StringUtil.htmlify(urlData.infoString)+
|
||||
linkcheck.StringUtil.htmlify(urlData.infoString)+
|
||||
"</td></tr>\n")
|
||||
if urlData.warningString:
|
||||
#self.warnings += 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue