commit: 41ffe4979bdd764647cbfda140b3b34bf264617e
Author: Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Wed Jan 21 18:41:24 2026 +0000
Commit: Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Wed Jan 21 18:41:24 2026 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=41ffe497
address the last ruff complaint.
Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
src/snakeoil/process/spawn.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/snakeoil/process/spawn.py b/src/snakeoil/process/spawn.py
index fe5cb87..10f0ecc 100644
--- a/src/snakeoil/process/spawn.py
+++ b/src/snakeoil/process/spawn.py
@@ -119,7 +119,8 @@ def run_exitfuncs():
func(*targs, **kargs)
except SystemExit:
exc_info = sys.exc_info()
- except:
+ # This is the last ditch exit cleanup; a bare except is fine here.
+ except: # noqa: E722
exc_info = sys.exc_info()
if exc_info is not None: