From cef58aba6ec3e04a9c3fd6a2cef90d0804f336c5 Mon Sep 17 00:00:00 2001 From: calvin Date: Mon, 29 Nov 2004 00:49:44 +0000 Subject: [PATCH] line ending for comments git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2073 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/logger/sql.py | 2 +- linkcheck/logger/xmllog.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"""