summaryrefslogtreecommitdiff
path: root/redis/connection.py
diff options
context:
space:
mode:
authorChayim <chayim@users.noreply.github.com>2021-11-17 11:54:45 +0200
committerGitHub <noreply@github.com>2021-11-17 11:54:45 +0200
commite74ed1942a746683ece792cb1670c544f599246f (patch)
tree40bbb5e21714cc062c00b0ca331d1ba4b99eb3e6 /redis/connection.py
parentc02d7209be5aeefe27c7ac2e740dafc4d969ec47 (diff)
downloadredis-py-e74ed1942a746683ece792cb1670c544f599246f.tar.gz
removing hiredis warning (#1721)
Diffstat (limited to 'redis/connection.py')
-rwxr-xr-xredis/connection.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/redis/connection.py b/redis/connection.py
index cb9acb4..35e9491 100755
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -63,11 +63,6 @@ if HIREDIS_AVAILABLE:
HIREDIS_SUPPORTS_ENCODING_ERRORS = \
hiredis_version >= LooseVersion('1.0.0')
- if not HIREDIS_SUPPORTS_BYTE_BUFFER:
- msg = ("redis-py works best with hiredis >= 0.1.4. You're running "
- "hiredis %s. Please consider upgrading." % hiredis.__version__)
- warnings.warn(msg)
-
HIREDIS_USE_BYTE_BUFFER = True
# only use byte buffer if hiredis supports it
if not HIREDIS_SUPPORTS_BYTE_BUFFER: