Skip to content

Commit

Permalink
Unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Oct 30, 2023
1 parent 0f77d4f commit 2aa7d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp/client_reqrep.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ async def write_bytes(
new_exc.__context__ = exc
new_exc.__cause__ = exc
protocol.set_exception(new_exc)
except asyncio.CancelledError as exc:
except asyncio.CancelledError:
await writer.write_eof()
except Exception as exc:
protocol.set_exception(exc)
Expand Down

0 comments on commit 2aa7d8b

Please sign in to comment.