diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-10-29 21:10:13 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-10-29 21:10:13 +0200 |
commit | d43529e2766eedb931d1c95c97323fed58cb7cce (patch) | |
tree | bceec65c6a2bc966d7f093a79b32826349e306ae | |
parent | be5e8abc5a3354f92ba593d5700376b22410faa1 (diff) | |
download | qutebrowser-d43529e2766eedb931d1c95c97323fed58cb7cce.tar.gz qutebrowser-d43529e2766eedb931d1c95c97323fed58cb7cce.zip |
earlyinit: Remove unnecessary 'as e:' too
-rw-r--r-- | qutebrowser/misc/earlyinit.py | 2 |
1 files changed, 1 insertions, 1 deletions
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__ # |