From 8178997e2838d01dafe14dcf0a1d2d6c6a20f051 Mon Sep 17 00:00:00 2001 From: Chayim Date: Thu, 28 Oct 2021 12:46:04 +0300 Subject: Adding vulture for static analysis (#1655) * Adding vulture for static analysis Removing dead code found previously by vulture in local runs. --- redis/connection.py | 1 - 1 file changed, 1 deletion(-) (limited to 'redis/connection.py') diff --git a/redis/connection.py b/redis/connection.py index c99c550..f5d6a38 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -746,7 +746,6 @@ class Connection: sock = self._sock if not sock: self.connect() - sock = self._sock return self._parser.can_read(timeout) def read_response(self): -- cgit v1.2.1