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 c1ca586 commit 4ff8421Copy full SHA for 4ff8421
redis/utils.py
@@ -12,7 +12,9 @@
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("pack_command is not available in the current version of hiredis.")
+ 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