ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / anytree / graphviz.patch
blob583b60444e358b7b0f7c18c87f3b634a49ef82d0
1 diff --git a/anytree/exporter/dotexporter.py b/anytree/exporter/dotexporter.py
2 index 9c10a68..209a952 100644
3 --- a/anytree/exporter/dotexporter.py
4 +++ b/anytree/exporter/dotexporter.py
5 @@ -228,7 +228,7 @@ class DotExporter(object):
6 for line in self:
7 dotfile.write(("%s\n" % line).encode("utf-8"))
8 dotfile.flush()
9 - cmd = ["dot", dotfilename, "-T", fileformat, "-o", filename]
10 + cmd = ["@graphviz@/bin/dot", dotfilename, "-T", fileformat, "-o", filename]
11 check_call(cmd)
12 try:
13 remove(dotfilename)