diff options
| author | Adam Johnson <me@adamj.eu> | 2021-01-19 06:04:53 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-19 07:04:53 +0100 |
| commit | 8c7ff7b8cff4a62423512efc3c4fe7955edfeed5 (patch) | |
| tree | d886d6d28739187a0819fc3035a8ac6b7e55d23a /django/utils/dateformat.py | |
| parent | 6b01511f04da573d450cdffab471538e70aec01e (diff) | |
Removed unreachable SystemExit check.
This check dates back to Python <2.5, before Python introduced
BaseException to prevent exactly unwarranted catching of SystemExit
(and others).
response_for_exception() is only called under `except Exception` or
`except Http404` so it's now impossible for a SystemExit instance to
reach the branch.
Diffstat (limited to 'django/utils/dateformat.py')
0 files changed, 0 insertions, 0 deletions
