diff options
author | Alex Wu <itswu.alex@gmail.com> | 2021-11-20 23:47:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-21 09:47:44 +0200 |
commit | 791f482dcb320f48cf950c4b2c6047d1981a8f67 (patch) | |
tree | a71e1095576c3dade6d1efa5d94de01108eadef2 /redis/connection.py | |
parent | 4e9cc015e32ef305429ff9dfa200e28dd63e6663 (diff) | |
download | redis-py-791f482dcb320f48cf950c4b2c6047d1981a8f67.tar.gz |
Better removal of hiredis warning (#1726)
Co-authored-by: Alex Wu <alex@anyscale.com>
Diffstat (limited to 'redis/connection.py')
-rwxr-xr-x | redis/connection.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/redis/connection.py b/redis/connection.py index 35e9491..e01742d 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -9,7 +9,6 @@ import io import os import socket import threading -import warnings import weakref from redis.exceptions import ( @@ -67,9 +66,6 @@ if HIREDIS_AVAILABLE: # only use byte buffer if hiredis supports it if not HIREDIS_SUPPORTS_BYTE_BUFFER: HIREDIS_USE_BYTE_BUFFER = False -else: - msg = "redis-py works best with hiredis. Please consider installing" - warnings.warn(msg) SYM_STAR = b'*' SYM_DOLLAR = b'$' |