1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00

samba.tests.docs: Write error output from xsltproc to standard out.

This commit is contained in:
Jelmer Vernooij
2012-09-28 21:40:32 -07:00
parent 8412b57f5c
commit cfa72bcc5e

View File

@ -47,7 +47,7 @@ def get_documented_parameters(sourcedir):
try:
p = subprocess.Popen(
["xsltproc", "--xinclude", "--param", "smb.context", "ALL", "generate-context.xsl", "parameters.all.xml"],
stdout=subprocess.PIPE, cwd=os.path.join(sourcedir, "docs-xml", "smbdotconf"))
stderr=subprocess.STDOUT, stdout=subprocess.PIPE, cwd=os.path.join(sourcedir, "docs-xml", "smbdotconf"))
except OSError, e:
if e.errno == errno.ENOENT:
raise NoXsltProc()