summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-03-20 14:13:32 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-03-20 14:13:32 +0000
commit2150151abe919884671fe2d080e5145d9face5fa (patch)
tree11602e5a75bac0dd827451d3068d7d2cdd2a5957
parentlint (diff)
downloadsynapse-2150151abe919884671fe2d080e5145d9face5fa.tar.xz
kwargs doesn't like commas on calling funcs either. TIL
-rw-r--r--synapse/http/matrixfederationclient.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 2c1bcf66fd..c654c1cf12 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -220,7 +220,7 @@ class MatrixFederationHttpClient(object):
         """
         try:
             response = yield self._send_request(
-                request, backoff_on_404=backoff_on_404, **send_request_args,
+                request, backoff_on_404=backoff_on_404, **send_request_args
             )
         except HttpResponseException as e:
             # Received an HTTP error > 300. Check if it meets the requirements
@@ -237,7 +237,7 @@ class MatrixFederationHttpClient(object):
             request.path += "/"
 
             response = yield self._send_request(
-                request, backoff_on_404=backoff_on_404, **send_request_args,
+                request, backoff_on_404=backoff_on_404, **send_request_args
             )
 
         defer.returnValue(response)