mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
black: Reformat with Black 23.
Black 23 enforces some slightly more specific rules about empty line
counts and redundant parenthesis removal, but the result is still
compatible with Black 22.
(This does not actually upgrade our Python environment to Black 23
yet.)
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit df001db1a9)
This commit is contained in:
committed by
Tim Abbott
parent
25609fb675
commit
7a34e9a3fd
@@ -532,7 +532,6 @@ class LocaleMiddleware(DjangoLocaleMiddleware):
|
||||
def process_response(
|
||||
self, request: HttpRequest, response: HttpResponseBase
|
||||
) -> HttpResponseBase:
|
||||
|
||||
# This is the same as the default LocaleMiddleware, minus the
|
||||
# logic that redirects 404's that lack a prefixed language in
|
||||
# the path into having a language. See
|
||||
|
||||
Reference in New Issue
Block a user