summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Rackham <srackham@methods.co.nz>2011-02-15 06:55:47 +1300
committerStuart Rackham <srackham@methods.co.nz>2011-02-15 06:55:47 +1300
commit00b3b73a9b13629176abfdd5866714c205bc4645 (patch)
tree56e906bfeae646a04d332659cec9a1f0cf1c1c23
parent0a5fc42171175227d6bb9ce15a422694e68197ea (diff)
downloadasciidoc-00b3b73a9b13629176abfdd5866714c205bc4645.tar.gz
Restore the 1>&2 redirect which was accidentally removed in "Changed UNIX
'/dev/null' to OS independent os.devnull in filters code.". It causes the output of LaTeX in the result files. Submitted by Simon Ruderich, see: http://groups.google.com/group/asciidoc/browse_thread/thread/37c1f7fdb80d096c
-rwxr-xr-xfilters/latex/latex2png.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/latex/latex2png.py b/filters/latex/latex2png.py
index 6024d8f..bef8612 100755
--- a/filters/latex/latex2png.py
+++ b/filters/latex/latex2png.py
@@ -95,7 +95,7 @@ def run(cmd):
if verbose:
cmd += ' 1>&2'
else:
- cmd += ' 2>%s' % os.devnull
+ cmd += ' 2>%s 1>&2' % os.devnull
print_verbose('executing: %s' % cmd)
if os.system(cmd):
raise EApp, 'failed command: %s' % cmd