Get rid of bare exception handlers.

Review Request #12076 — Created Feb. 23, 2022 and submitted — Latest diff uploaded

Information

Djblets
release-3.x

Reviewers

Python no longer encourages the bare except: handler syntax. This
change adds generic exception types to the few instances where we still
did that.

Ran unit tests.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Get rid of bare exception handlers.
Python no longer encourages the bare `except:` handler syntax. This change adds generic exception types to the few instances where we still did that. Testing Done: Ran unit tests.
36761efe5c631616fbd3a52e486191445496f15b David Trowbridge
djblets/auth/forms.py
djblets/cache/backend.py
djblets/cache/forwarding_backend.py
djblets/extensions/hooks.py
djblets/extensions/models.py
djblets/extensions/packaging.py
djblets/extensions/templatetags/djblets_extensions.py
djblets/webapi/resources/base.py
Loading...