We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d4c679 commit eae6d46Copy full SHA for eae6d46
redis/connection.py
@@ -414,15 +414,6 @@ def on_connect(self):
414
# execute the MULTI block
415
self.send_command('EXEC')
416
responses = self._read_exec_responses()
417
- # check AUTH response if AUTH command was sent
418
- if auth_command_response:
419
- # First response should be for AUTH command
420
- auth_response = responses[0]
421
- if b'ERR' in auth_response:
422
- raise AuthenticationError(
423
- "Authentication failed: %s" % auth_response)
424
- responses = responses[1:] # Remove AUTH response from the list
425
-
426
self._handle_responses(responses, auth_args)
427
except (TimeoutError, AuthenticationError, ConnectionError) as e:
428
if not self.retry_on_timeout:
0 commit comments