summaryrefslogtreecommitdiff
path: root/stub.py
diff options
context:
space:
mode:
authorLex Neva <lexelby@users.noreply.github.com>2018-08-24 20:52:28 -0400
committerGitHub <noreply@github.com>2018-08-24 20:52:28 -0400
commit1de8487849a3f8f55d126e2687d690226e657fde (patch)
tree1bd891b97f8447cb3f513d073d20cea5d4534461 /stub.py
parentb3bb975401fe4971170239eea9b928ee13161398 (diff)
parent91eb98cc33602f19dddc186c034aed968e048404 (diff)
Merge pull request #288 from inkstitch/lexelby/style
fix coding style and enforce style checks in build
Diffstat (limited to 'stub.py')
-rw-r--r--stub.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/stub.py b/stub.py
index 9c316b99..3d873196 100644
--- a/stub.py
+++ b/stub.py
@@ -34,9 +34,10 @@ args[0] = binary_path
try:
extension = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout, stderr = extension.communicate()
-except:
+except BaseException:
print >> sys.stderr, "Unexpected error launching Ink/Stitch."
- print >> sys.stderr, "If you're having trouble, please file an issue here, including the text below: https://github.com/inkstitch/inkstitch/issues\n"
+ print >> sys.stderr, "If you're having trouble, please file an issue here, including the text below:"
+ print >> sys.stderr, " https://github.com/inkstitch/inkstitch/issues\n"
print >> sys.stderr, "Tried to launch:", binary_path
print >> sys.stderr, "Arguments:", args
print >> sys.stderr, "Debugging information:\n"