summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool
diff options
context:
space:
mode:
authorStefan Zimmermann <zimmermann.code@gmail.com>2014-03-31 22:38:22 (GMT)
committerStefan Zimmermann <zimmermann.code@gmail.com>2014-03-31 22:38:22 (GMT)
commit83cdce661b4a953f2b307f60577db53fb23a8b2d (patch)
treeee7a47ac377f09a1a0f498106f965235a26528a2 /src/engine/SCons/Tool
parente7fbae42ed9a4db4be2152c2bccd05ce46226689 (diff)
downloadSCons-83cdce661b4a953f2b307f60577db53fb23a8b2d.zip
SCons-83cdce661b4a953f2b307f60577db53fb23a8b2d.tar.gz
SCons-83cdce661b4a953f2b307f60577db53fb23a8b2d.tar.bz2
engine.SCons: More bytes/str fixes.
Diffstat (limited to 'src/engine/SCons/Tool')
-rw-r--r--src/engine/SCons/Tool/docbook/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/docbook/__init__.py b/src/engine/SCons/Tool/docbook/__init__.py
index aacc26d..627ff51 100644
--- a/src/engine/SCons/Tool/docbook/__init__.py
+++ b/src/engine/SCons/Tool/docbook/__init__.py
@@ -335,7 +335,7 @@ def __build_lxml(target, source, env):
result = transform(doc)
try:
- of = open(str(target[0]), "w")
+ of = open(str(target[0]), "wb")
of.write(of.write(etree.tostring(result, pretty_print=True)))
of.close()
except: