From 53ca28a657b18f273495c951d607e9d36ed10943 Mon Sep 17 00:00:00 2001 From: Mathieu Velten Date: Tue, 22 Nov 2022 18:10:40 +0100 Subject: Reformat --- synapse/http/connectproxyclient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'synapse/http/connectproxyclient.py') diff --git a/synapse/http/connectproxyclient.py b/synapse/http/connectproxyclient.py index 76c01dc268..466e2f57ea 100644 --- a/synapse/http/connectproxyclient.py +++ b/synapse/http/connectproxyclient.py @@ -102,7 +102,7 @@ class HTTPConnectProxyEndpoint: d = self._proxy_endpoint.connect(f) # once the tcp socket connects successfully, we need to wait for the # CONNECT to complete. - d.addCallback(lambda conn: f.on_connection) # type: ignore[unused-awaitable] + d.addCallback(lambda conn: f.on_connection) # type: ignore[unused-awaitable] return d @@ -196,7 +196,7 @@ class HTTPConnectProtocol(protocol.Protocol): self.http_setup_client = HTTPConnectSetupClient( self.host, self.port, self.proxy_creds ) - self.http_setup_client.on_connected.addCallback(self.proxyConnected) # type: ignore[unused-awaitable] + self.http_setup_client.on_connected.addCallback(self.proxyConnected) # type: ignore[unused-awaitable] def connectionMade(self) -> None: self.http_setup_client.makeConnection(self.transport) -- cgit 1.5.1