From 2d88e7483b4048f793c30f48203c7a9565bdc048 Mon Sep 17 00:00:00 2001 From: Miroslav Šulc Date: Tue, 29 Oct 2019 21:52:58 +0100 Subject: fixes bug #698686 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/698686 Fix by charles17@arcor.de Signed-off-by: Miroslav Šulc --- src/py/build-xml-rewrite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py/build-xml-rewrite b/src/py/build-xml-rewrite index 5a67145..b449305 100755 --- a/src/py/build-xml-rewrite +++ b/src/py/build-xml-rewrite @@ -54,7 +54,7 @@ def main(): junit.append(gcp_sub) junit.attrib['haltonfailure'] = 'true' - with open(file, 'w') as f: + with open(file, 'wb') as f: tree.write(f) -- cgit v1.2.3-65-gdbad