summary refs log tree commit diff
path: root/synapse/http/matrixfederationclient.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-03-13 19:08:08 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-03-13 19:08:08 +0000
commitc991e7aec78d7cb299c4f9c16f3b80f03c887bfb (patch)
tree1a01270be367bdb97aa127246de353abc23a3daf /synapse/http/matrixfederationclient.py
parentDestructure again (diff)
downloadsynapse-c991e7aec78d7cb299c4f9c16f3b80f03c887bfb.tar.xz
Syntax checker is bork
Diffstat (limited to '')
-rw-r--r--synapse/http/matrixfederationclient.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 380bf294e5..cdeb3792b2 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -190,12 +190,11 @@ class MatrixFederationHttpClient(object):
 
     @defer.inlineCallbacks
     def _send_request_with_optional_trailing_slash(
-        self,
-        request,
-        try_trailing_slash_on_400=False,
-        backoff_on_404=False,
-        **kwargs,
-    ):
+            self,
+            request,
+            try_trailing_slash_on_400=False,
+            backoff_on_404=False,
+            **kwargs):
         """Wrapper for _send_request which can optionally retry the request
         upon receiving a combination of a 400 HTTP response code and a
         'M_UNRECOGNIZED' errcode. This is a workaround for Synapse <=v0.99.2