From 4f758f5c783884f51da49d6e8465de7563f016c1 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 27 Apr 2017 20:40:08 +0200 Subject: [PATCH] fix white space trimming when writing .txt format Some of the internal data format changes somehow broke the white space trimming when writing out .txt. closes #285 --- fdroidserver/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/metadata.py b/fdroidserver/metadata.py index 360ffc82..c650ddbc 100644 --- a/fdroidserver/metadata.py +++ b/fdroidserver/metadata.py @@ -1315,7 +1315,7 @@ def write_txt(mf, app): first = False else: mf.write(' && \\\n ') - mf.write(s) + mf.write(s.strip()) elif t == TYPE_LIST: mf.write(','.join(v))