]> git.phdru.name Git - bookmarks_db.git/commitdiff
Fix(subproc.py): Convert exception from a string to a class
authorOleg Broytman <phd@phdru.name>
Sat, 1 Jul 2017 00:33:16 +0000 (03:33 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 1 Jul 2017 00:33:16 +0000 (03:33 +0300)
subproc.py

index 1828b1c240151e1df7d8a3d8d809e912f6820c6f..fcb7e1e222715bbea0408062dd73da92b5a13692 100644 (file)
@@ -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