From 4f844f7721786b42df1825248492f8b27ff8f38b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 19 Aug 2023 20:55:27 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- aiohttp/connector.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aiohttp/connector.py b/aiohttp/connector.py index 5bb2d7c7718..160eb3b34c6 100644 --- a/aiohttp/connector.py +++ b/aiohttp/connector.py @@ -1174,7 +1174,9 @@ def drop_exception(fut: "asyncio.Future[List[Dict[str, Any]]]") -> None: host = hinfo["host"] port = hinfo["port"] - server_hostname = (req.server_hostname or hinfo["hostname"]) if sslcontext else None + server_hostname = ( + (req.server_hostname or hinfo["hostname"]) if sslcontext else None + ) try: transp, proto = await self._wrap_create_connection(