mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove unused variable: _graphviz_warned_ps2pdf
This commit is contained in:
parent
e4480baa98
commit
388ee36d9f
@ -153,8 +153,7 @@ def render_dot(self, code, options, format, prefix='graphviz'):
|
||||
if path.isfile(outfn):
|
||||
return relfn, outfn
|
||||
|
||||
if hasattr(self.builder, '_graphviz_warned_dot') or \
|
||||
hasattr(self.builder, '_graphviz_warned_ps2pdf'):
|
||||
if hasattr(self.builder, '_graphviz_warned_dot'):
|
||||
return None, None
|
||||
|
||||
ensuredir(path.dirname(outfn))
|
||||
|
Loading…
Reference in New Issue
Block a user