summary refs log tree commit diff
path: root/synapse/http/connectproxyclient.py
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2022-11-22 18:10:40 +0100
committerMathieu Velten <mathieuv@matrix.org>2022-11-22 18:10:40 +0100
commit53ca28a657b18f273495c951d607e9d36ed10943 (patch)
treedecc2c888f9804ab0d325192cf51f3754f322d9e /synapse/http/connectproxyclient.py
parentAdd type ignore unused-awaitable to LoopingCall start call (diff)
downloadsynapse-53ca28a657b18f273495c951d607e9d36ed10943.tar.xz
Reformat
Diffstat (limited to 'synapse/http/connectproxyclient.py')
-rw-r--r--synapse/http/connectproxyclient.py4
1 files changed, 2 insertions, 2 deletions
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)