[elbe-devel] [PATCH] preprocess: don't compress the output

bage at linutronix.de bage at linutronix.de
Tue Aug 27 12:00:46 CEST 2019


From: Bastian Germann <bage at linutronix.de>

elbe preprocess uses preprocess.xml as default file name but applies a
gzip compression unexpectedly. Remove the compression.

Closes #213.

Signed-off-by: Bastian Germann <bage at linutronix.de>
---
 elbepack/xmlpreprocess.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/elbepack/xmlpreprocess.py b/elbepack/xmlpreprocess.py
index 0e986a75..e318c0dc 100644
--- a/elbepack/xmlpreprocess.py
+++ b/elbepack/xmlpreprocess.py
@@ -146,8 +146,7 @@ def xmlpreprocess(fname, output, variants=None):
             xml.write(
                 output,
                 encoding="UTF-8",
-                pretty_print=True,
-                compression=9)
+                pretty_print=True)
             # the rest of the code is exception and error handling
             return
 
-- 
2.20.1




More information about the elbe-devel mailing list