From: Oleg Broytman Date: Sat, 1 Jul 2017 00:33:16 +0000 (+0300) Subject: Fix(subproc.py): Convert exception from a string to a class X-Git-Tag: 5.0.0~111 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f61e98fb060b1702bc02a2dddbe8dd49443ec0b6;p=bookmarks_db.git Fix(subproc.py): Convert exception from a string to a class --- 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