diff options
author | Michael Schwarz <michi.schwarz@gmail.com> | 2015-09-07 00:53:22 +0200 |
---|---|---|
committer | Michael Schwarz <michi.schwarz@gmail.com> | 2015-09-16 01:41:45 +0200 |
commit | 57c9e9dc906da0dd4b5d34faeec2feee392a8b9c (patch) | |
tree | 96dff37fc3d65979e6b85b91c342504e4ee801d2 /src | |
parent | ab26e5a8d54de099315e2cf473ec52610a6e3a17 (diff) | |
download | pogojig-57c9e9dc906da0dd4b5d34faeec2feee392a8b9c.tar.gz pogojig-57c9e9dc906da0dd4b5d34faeec2feee392a8b9c.tar.bz2 pogojig-57c9e9dc906da0dd4b5d34faeec2feee392a8b9c.zip |
Prevent Python stack trace when an external command failed.
This catches the OSError thrown by the subprocess module and wraps it so that in the end only an error message is printed, explaining which command failed.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions