Skip to content

Commit

Permalink
Don't create a file with graphviz source in .write_to_png
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquev6 committed May 15, 2015
1 parent da71bad commit d7ede96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ActionTree/drawings.py
Expand Up @@ -189,7 +189,7 @@ def write_to_png(self, filename): # pragma no cover (Untestable? But small.)
filename, ext = os.path.splitext(filename)
g = self.get_graphviz_graph()
g.format = "png"
g.render(directory=directory, filename=filename)
g.render(directory=directory, filename=filename, cleanup=True)

def get_graphviz_graph(self):
"""
Expand Down
5 changes: 1 addition & 4 deletions doc/doctest/.gitignore
@@ -1,4 +1 @@
/concat
/concat.png
/link_report.png
/failed_link_report.png
/*.png

0 comments on commit d7ede96

Please sign in to comment.