Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Franck Pommereau
/
snakes
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Franck Pommereau
2016-09-20 10:57:52 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
70ce324f5b42056e4f14d60f8d297400e69d0560
70ce324f
1 parent
1a92499a
fixed unexpected None value for stderr in plugin gv
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
snakes/plugins/gv.py
snakes/plugins/gv.py
View file @
70ce324
...
...
@@ -141,7 +141,7 @@ class Graph (Cluster) :
if
not
debug
:
os
.
unlink
(
outfile
.
name
)
if
dot
.
returncode
!=
0
:
if
stdout
.
strip
()
+
stderr
.
strip
()
:
if
(
stdout
or
""
)
.
strip
()
+
(
stderr
or
""
)
.
strip
()
:
stdout
=
"
\n
*** Original error message follows ***
\n
"
+
stdout
raise
IOError
(
"
%
s exited with status
%
s
%
s"
%
(
engine
,
dot
.
returncode
,
stdout
))
...
...
Please
register
or
login
to post a comment