Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Commit

Permalink
Simplify cmds further.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer committed Aug 21, 2021
1 parent 8aff9bb commit ae2dfa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aioredis/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4483,7 +4483,7 @@ async def _execute_transaction(
post: CommandT = (("EXEC",), {})
cmds = (pre, *commands, post)
all_cmds = connection.pack_commands(
[args for args, options in cmds if EMPTY_RESPONSE not in options]
args for args, options in cmds if EMPTY_RESPONSE not in options
)
await connection.send_packed_command(all_cmds)
errors = []
Expand Down

0 comments on commit ae2dfa6

Please sign in to comment.