From f61e98fb060b1702bc02a2dddbe8dd49443ec0b6 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 1 Jul 2017 03:33:16 +0300 Subject: [PATCH] Fix(subproc.py): Convert exception from a string to a class --- subproc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subproc.py b/subproc.py index 1828b1c..fcb7e1e 100644 --- a/subproc.py +++ b/subproc.py @@ -49,7 +49,9 @@ import select import signal -SubprocessError = 'SubprocessError' +class SubprocessError(Exception): + pass + # You may need to increase execvp_grace_seconds, if you have a large or slow # path to search: execvp_grace_seconds = 0.5 -- 2.39.5