summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2012-01-10 21:25:05 (GMT)
committerDirk Baechle <dl9obn@darc.de>2012-01-10 21:25:05 (GMT)
commitf41b631016ef9630dfd3338fdccc9c0d0e969583 (patch)
treeb4bf1a865d17caa589df094e4e6accf708e3ad63
parent77bc8415c053b3559e016bb6aebed8f1b1e3664f (diff)
downloadSCons-f41b631016ef9630dfd3338fdccc9c0d0e969583.zip
SCons-f41b631016ef9630dfd3338fdccc9c0d0e969583.tar.gz
SCons-f41b631016ef9630dfd3338fdccc9c0d0e969583.tar.bz2
- fixed issue #2812, scons-doc.py now correctly renders main.in to main.xml by copying the <xml...> declaration at the start of the file
-rw-r--r--bin/scons-doc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/scons-doc.py b/bin/scons-doc.py
index f99dfa7..cf5d5b2 100644
--- a/bin/scons-doc.py
+++ b/bin/scons-doc.py
@@ -845,7 +845,7 @@ def process(filename, fout=sys.stdout):
if data.startswith('<?xml '):
first_line, data = data.split('\n', 1)
- sys.stdout.write(first_line + '\n')
+ fout.write(first_line + '\n')
x = MySGML(fout)
for c in data: