summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorJeroen <vo.jeroen@gmail.com>2018-06-25 12:31:16 +0200
committerJeroen <vo.jeroen@gmail.com>2018-06-25 12:31:16 +0200
commit07b4f88de9ee534629db29aa4fc398607e7d866e (patch)
treed59cfabe4decd1c260fb6864f6fc897bad6aceda /synapse/http
parentsend SNI for federation requests (diff)
downloadsynapse-07b4f88de9ee534629db29aa4fc398607e7d866e.tar.xz
formatting changes for pep8
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/endpoint.py3
-rw-r--r--synapse/http/matrixfederationclient.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/synapse/http/endpoint.py b/synapse/http/endpoint.py
index e783f95719..abf4862084 100644
--- a/synapse/http/endpoint.py
+++ b/synapse/http/endpoint.py
@@ -44,7 +44,8 @@ def matrix_federation_endpoint(reactor, destination, tls_client_options_factory=
     Args:
         reactor: Twisted reactor.
         destination (bytes): The name of the server to connect to.
-        tls_client_options_factory (synapse.crypto.context_factory.ClientTLSOptionsFactory): 
+        tls_client_options_factory
+            (synapse.crypto.context_factory.ClientTLSOptionsFactory):
             Factory which generates TLS options for client connections.
         timeout (int): connection timeout in seconds
     """
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 66796a202f..b48d05fcd2 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -69,7 +69,7 @@ class MatrixFederationEndpointFactory(object):
 
         return matrix_federation_endpoint(
             reactor, destination, timeout=10,
-            tls_client_options_factory = self.tls_client_options_factory
+            tls_client_options_factory=self.tls_client_options_factory
         )