line ending for comments

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2073 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2004-11-29 00:49:44 +00:00
parent bca33cdc32
commit cef58aba6e
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ class SQLLogger (linkcheck.logger.Logger):
def comment (self, s, **args):
"""Print SQL comment."""
self.write(u"-- ")
self.write(s, **args)
self.writeln(s=s, **args)
def start_output (self):
"""print start of checking info as sql comment"""

View file

@ -67,7 +67,7 @@ class XMLLogger (linkcheck.logger.Logger):
"""Print HTML comment."""
self.write(u"<!-- ")
self.write(s, **args)
self.write(u" -->")
self.writeln(u" -->")
def start_output (self):
"""print start of checking info as xml comment"""