Skip to content

Commit

Permalink
earlyinit: Remove unnecessary 'as e:' too
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Compiler committed Oct 29, 2021
1 parent be5e8ab commit d43529e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qutebrowser/misc/earlyinit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__
#
Expand Down

0 comments on commit d43529e

Please sign in to comment.