We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ff8421 commit 9c2caf8Copy full SHA for 9c2caf8
redis/utils.py
@@ -10,11 +10,6 @@
10
HIREDIS_AVAILABLE = int(hiredis.__version__.split(".")[0]) >= 3
11
if not HIREDIS_AVAILABLE:
12
raise ImportError("hiredis package should be >= 3.0.0")
13
- HIREDIS_PACK_AVAILABLE = hasattr(hiredis, "pack_command")
14
- if not HIREDIS_PACK_AVAILABLE:
15
- raise ImportError(
16
- "pack_command is not available in the current version of hiredis."
17
- )
18
except ImportError:
19
HIREDIS_AVAILABLE = False
20
HIREDIS_PACK_AVAILABLE = False
0 commit comments