From ae2dfa6597f7c1f62b40c248dadd63f16cbdb27d Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Sat, 21 Aug 2021 18:01:50 +0100 Subject: [PATCH] Simplify cmds further. --- aioredis/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aioredis/client.py b/aioredis/client.py index 83209100b..6ea3f5746 100644 --- a/aioredis/client.py +++ b/aioredis/client.py @@ -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 = []