summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDirk Baechle <dl9obn@darc.de>2012-01-10 22:25:05 +0100
committerDirk Baechle <dl9obn@darc.de>2012-01-10 22:25:05 +0100
commitd362a8be0101d0f5bd797d965241e9b3cabf6237 (patch)
treeb4bf1a865d17caa589df094e4e6accf708e3ad63 /bin
parentbcdf153c4c46b2c5051ffe29c9f6a4fc3e508e2f (diff)
downloadscons-d362a8be0101d0f5bd797d965241e9b3cabf6237.tar.gz
- 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
Diffstat (limited to 'bin')
-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 f99dfa74..cf5d5b29 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: