diff options
author | Dan Callahan <danc@element.io> | 2021-04-13 10:41:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-13 10:41:34 +0100 |
commit | 1d5f0e3529ec5acd889037c8ebcca2820ad003d5 (patch) | |
tree | 4e911bba7305b49ec44549f803b5cf64f5323456 /synapse/http | |
parent | Add an admin API to manage ratelimit for a specific user (#9648) (diff) | |
download | synapse-1d5f0e3529ec5acd889037c8ebcca2820ad003d5.tar.xz |
Bump black configuration to target py36 (#9781)
Signed-off-by: Dan Callahan <danc@element.io>
Diffstat (limited to 'synapse/http')
-rw-r--r-- | synapse/http/matrixfederationclient.py | 2 | ||||
-rw-r--r-- | synapse/http/site.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py index 5f01ebd3d4..ab47dec8f2 100644 --- a/synapse/http/matrixfederationclient.py +++ b/synapse/http/matrixfederationclient.py @@ -272,7 +272,7 @@ class MatrixFederationHttpClient: self, request: MatrixFederationRequest, try_trailing_slash_on_400: bool = False, - **send_request_args + **send_request_args, ) -> IResponse: """Wrapper for _send_request which can optionally retry the request upon receiving a combination of a 400 HTTP response code and a diff --git a/synapse/http/site.py b/synapse/http/site.py index c0c873ce32..32b5e19c09 100644 --- a/synapse/http/site.py +++ b/synapse/http/site.py @@ -497,7 +497,7 @@ class SynapseSite(Site): resource, server_version_string, *args, - **kwargs + **kwargs, ): Site.__init__(self, resource, *args, **kwargs) |