Skip to content

Commit

Permalink
Debugging snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
jsseidel committed Apr 23, 2019
1 parent 2108ebc commit 13cf4fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/flt-plantuml.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ def plantuml(key, value, format, meta):
with open(src, "w") as f:
f.write(txt)

p = Popen(["whereis", "plantuml"], stderr=PIPE, stdout=PIPE)
(stdout, stderr) = p.communicate()
sys.stderr.write(stdout.decode() + "\n")
sys.stderr.write(stderr.decode() + "\n")

p = Popen(["plantuml", "-t" + filetype, src], stderr=PIPE, stdout=PIPE)
(stdout, stderr) = p.communicate()
if stderr.decode() != "":
Expand Down

0 comments on commit 13cf4fc

Please sign in to comment.