aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2019-10-29 21:52:58 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2019-10-29 21:53:50 +0100
commit2d88e7483b4048f793c30f48203c7a9565bdc048 (patch)
tree7a6b46542352e9c81eb68af2da81a4a47debb896
parentadd entry to NEWS (diff)
downloadjavatoolkit-2d88e7483b4048f793c30f48203c7a9565bdc048.tar.gz
javatoolkit-2d88e7483b4048f793c30f48203c7a9565bdc048.tar.bz2
javatoolkit-2d88e7483b4048f793c30f48203c7a9565bdc048.zip
fixes bug #6986860.6.1
Bug: https://bugs.gentoo.org/698686 Fix by charles17@arcor.de Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rwxr-xr-xsrc/py/build-xml-rewrite2
1 files changed, 1 insertions, 1 deletions
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)