Commits

Bernhard Leiner committed fd52839

seperate the return values of render_dot into two variables

  • Participants
  • Parent commits d492c2d
  • Tags 0.6.1

Comments (0)

Files changed (1)

File sphinx/ext/graphviz.py

 
 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