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 0dd887e commit d3cbd6fCopy full SHA for d3cbd6f
redis/utils.py
@@ -13,9 +13,8 @@
13
14
# Only support Hiredis >= 3.0:
15
hiredis_version = hiredis.__version__.split(".")
16
- HIREDIS_AVAILABLE = (
17
- int(hiredis_version[0]) > 3 or
18
- (int(hiredis_version[0]) == 3 and int(hiredis_version[1]) >= 2)
+ HIREDIS_AVAILABLE = int(hiredis_version[0]) > 3 or (
+ int(hiredis_version[0]) == 3 and int(hiredis_version[1]) >= 2
19
)
20
if not HIREDIS_AVAILABLE:
21
raise ImportError("hiredis package should be >= 3.2.0")
0 commit comments