Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
except e: --> except Exception: #1333
In the current code e is both undefined and unused so this code will raise an NameError exception which masks the original exception.
An alternative solution would be: except Exception as e: but that still creates an unused variable.
Description of change
@refack Your review please.
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics