Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz authored Jan 29, 2024
1 parent 1d3f663 commit 41f7b1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions aiohttp/client_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def connection_lost(self, exc: Optional[BaseException]) -> None:
except Exception as underlying_exc:
if self._payload is not None:
client_payload_exc_msg = (
"Response payload is not completed: " f"{underlying_exc !r}"
f"Response payload is not completed: {underlying_exc !r}"
)
if not connection_closed_cleanly:
client_payload_exc_msg = (
Expand Down Expand Up @@ -279,7 +279,7 @@ def data_received(self, data: bytes) -> None:
# should_close is True after the call
self.set_exception(
ClientPayloadError(
"Unable to parse response payload: " f"{underlying_exc !r}"
f"Unable to parse response payload: {underlying_exc !r}"
),
underlying_exc,
)
Expand Down
2 changes: 1 addition & 1 deletion aiohttp/client_reqrep.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ async def write_bytes(
set_exception(
protocol,
ClientConnectionError(
"Failed to send bytes into the " f"underlying connection {conn !s}",
f"Failed to send bytes into the underlying connection {conn !s}",
),
underlying_exc,
)
Expand Down

0 comments on commit 41f7b1a

Please sign in to comment.