Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Leiner <bleiner@gmail.com>2009-03-26 19:57:56 +0300
committerBernhard Leiner <bleiner@gmail.com>2009-03-26 19:57:56 +0300
commit07ef8c9f9944a02d11fe27e9dfe3817140c92f18 (patch)
treefeea91d071356fbeb116256af53fe9acf164f978
parentfcda449ce8c1da8e6403632e09357ed9d8d3fff7 (diff)
seperate the return values of render_dot into two variablesv0.6.10.6.1
-rw-r--r--sphinx/ext/graphviz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/graphviz.py b/sphinx/ext/graphviz.py
index ea7b206d5..2dabd5e7e 100644
--- a/sphinx/ext/graphviz.py
+++ b/sphinx/ext/graphviz.py
@@ -163,7 +163,7 @@ def html_visit_graphviz(self, node):
def render_dot_latex(self, node, code, options, prefix='graphviz'):
try:
- fname = render_dot(self, code, options, 'pdf', prefix)
+ fname, outfn = render_dot(self, code, options, 'pdf', prefix)
except GraphvizError, exc:
self.builder.warn('dot code %r: ' % code + str(exc))
raise nodes.SkipNode