From d43529e2766eedb931d1c95c97323fed58cb7cce Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 29 Oct 2021 21:10:13 +0200 Subject: earlyinit: Remove unnecessary 'as e:' too --- qutebrowser/misc/earlyinit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/misc/earlyinit.py b/qutebrowser/misc/earlyinit.py index 696cc7f8a..f27b7acfe 100644 --- a/qutebrowser/misc/earlyinit.py +++ b/qutebrowser/misc/earlyinit.py @@ -113,7 +113,7 @@ def init_faulthandler(fileobj=sys.__stderr__): """ try: faulthandler.enable(fileobj) - except (RuntimeError, AttributeError) as e: + except (RuntimeError, AttributeError): # When run with pythonw.exe, sys.__stderr__ can be None: # https://docs.python.org/3/library/sys.html#sys.__stderr__ # -- cgit v1.2.3-54-g00ecf