From 5dc84383663e0dde1ac75bb98d17d83202390ef1 Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 2 Aug 2013 23:36:18 +0200 Subject: [PATCH] Revert "Fix encoding error in make_man" This reverts commit fc9a503f6c0e304a8161766fb40e6ccbb124a12f. It breaks manpage --- tools/make_man.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/make_man.py b/tools/make_man.py index ba493de8..a5ae1a60 100755 --- a/tools/make_man.py +++ b/tools/make_man.py @@ -177,7 +177,7 @@ For full COPYRIGHT see COPYING file with weboob package. # Skip internal applications. footer += "\n\n.SH SEE ALSO\nHome page: http://weboob.org/applications/%s" % application.APPNAME - mantext = u"%r\n%r\n%r\n%r\n%r" % (coding, header, name, helptext, footer) + mantext = u"%s\n%s\n%s\n%s\n%s" % (coding, header, name, helptext, footer) with open(os.path.join(BASE_PATH, DEST_DIR, "%s.1" % script_name), 'w+') as manfile: for line in mantext.split('\n'): manfile.write('%s\n' % line.lstrip().encode('utf-8'))