seperate the return values of render_dot into two variables

This commit is contained in:
Bernhard Leiner
2009-03-26 17:57:56 +01:00
parent fcda449ce8
commit 07ef8c9f99
+1 -1
View File
@@ -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