Fix condition of graphviz warning

This commit is contained in:
Takeshi KOMIYA committed 2016-01-19 01:10:49 +09:00
1 parent 0cbb29e342
commit 5b92c708f8
1 file changed
+1 -1
+1 -1
View File
@@ -160,7 +160,7 @@ def render_dot(self, code, options, format, prefix='graphviz'):
return relfn, outfn
if (hasattr(self.builder, '_graphviz_warned_dot') and
self.builder._graphviz_warned_dot[graphviz_dot]):
self.builder._graphviz_warned_dot.get(graphviz_dot)):
return None, None
ensuredir(path.dirname(outfn))