diff --git a/linkcheck/logger/sql.py b/linkcheck/logger/sql.py index 413ccd8c..e99f532c 100644 --- a/linkcheck/logger/sql.py +++ b/linkcheck/logger/sql.py @@ -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""" diff --git a/linkcheck/logger/xmllog.py b/linkcheck/logger/xmllog.py index 97acbc1b..3f313778 100644 --- a/linkcheck/logger/xmllog.py +++ b/linkcheck/logger/xmllog.py @@ -67,7 +67,7 @@ class XMLLogger (linkcheck.logger.Logger): """Print HTML comment.""" self.write(u"") + self.writeln(u" -->") def start_output (self): """print start of checking info as xml comment"""