From e57cf1a7227a596eb64696ec5b3b307b541be2fe Mon Sep 17 00:00:00 2001 From: Andy McCurdy Date: Fri, 26 Jul 2019 17:12:55 -0700 Subject: yes, we still support python 2.7 --- redis/connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redis/connection.py b/redis/connection.py index 9c659ac..b60a9fd 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -652,10 +652,10 @@ class Connection(object): self.disconnect() raise - def send_command(self, *args, check_health=True): + def send_command(self, *args, **kwargs): "Pack and send a command to the Redis server" self.send_packed_command(self.pack_command(*args), - check_health=check_health) + check_health=kwargs.get('check_health', True)) def can_read(self, timeout=0): "Poll the socket to see if there's data that can be read." -- cgit v1.2.1