summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-03-13 19:35:23 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-03-13 19:35:23 +0000
commit5ca857ad849784ce72660fce8d8a94bb4aa55d5f (patch)
tree10fdb575c6f45012650a2d4a526c91f08ba8bef7 /synapse/http
parentno kwargs today (diff)
downloadsynapse-5ca857ad849784ce72660fce8d8a94bb4aa55d5f.tar.xz
as above
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/matrixfederationclient.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 47c7aedfff..502ff15125 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -586,7 +586,8 @@ class MatrixFederationHttpClient(object):
         }
 
         response = yield self._send_request_with_optional_trailing_slash(
-            request, try_trailing_slash_on_400, backoff_on_404, send_request_args)
+            request, try_trailing_slash_on_400, backoff_on_404, send_request_args,
+        )
 
         body = yield _handle_json_response(
             self.hs.get_reactor(), self.default_timeout, request, response,
@@ -706,7 +707,8 @@ class MatrixFederationHttpClient(object):
         }
 
         response = yield self._send_request_with_optional_trailing_slash(
-            request, try_trailing_slash_on_400, **send_request_args)
+            request, try_trailing_slash_on_400, send_request_args,
+        )
 
         body = yield _handle_json_response(
             self.hs.get_reactor(), self.default_timeout, request, response,