From ae0bd406d41dc51b724449dc3cbfed07dc493779 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Wed, 11 Apr 2012 20:43:46 +0200 Subject: [PATCH] Do not encode CSV outro output comment. --- doc/changelog.txt | 2 ++ linkcheck/logger/csvlog.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/changelog.txt b/doc/changelog.txt index 7c4f2f89..2dbbbb3e 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -10,6 +10,8 @@ Fixes: Closes: SF bug #3515959 - i18n: Make locale domain name lowercase, fixing the .mo-file lookup on Unix systems. +- checking: Fix CSV output with German locale. + Closes: SF bug #3516400 Features: - cgi: Added a WSGI script to replace the CGI script. diff --git a/linkcheck/logger/csvlog.py b/linkcheck/logger/csvlog.py index cb69343c..89865876 100644 --- a/linkcheck/logger/csvlog.py +++ b/linkcheck/logger/csvlog.py @@ -49,7 +49,7 @@ class CSVLogger (Logger): def comment (self, s, **args): """Write CSV comment.""" - self.writeln(s=self.encode(u"# %s" % s), **args) + self.writeln(s=u"# %s" % s, **args) def start_output (self): """Write checking start info as csv comment."""