From 038875f876d79d0f1e971886fe42f5bee4f9f31e Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 21 Aug 2018 20:32:50 -0400 Subject: autopep8 --- stub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stub.py') diff --git a/stub.py b/stub.py index 9c316b99..6daaf5ae 100644 --- a/stub.py +++ b/stub.py @@ -34,7 +34,7 @@ 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, "Tried to launch:", binary_path -- cgit v1.2.3 From 94f391ab4262b5e1c8dace0263467a0ec1f17058 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 21 Aug 2018 20:50:14 -0400 Subject: more pep8 fixes --- stub.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stub.py') diff --git a/stub.py b/stub.py index 6daaf5ae..3d873196 100644 --- a/stub.py +++ b/stub.py @@ -36,7 +36,8 @@ try: stdout, stderr = extension.communicate() 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" -- cgit v1.2.3