Skip to content

Commit d3cbd6f

Browse files
committed
Fix formatting
1 parent 0dd887e commit d3cbd6f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

redis/utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@
1313

1414
# Only support Hiredis >= 3.0:
1515
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)
16+
HIREDIS_AVAILABLE = int(hiredis_version[0]) > 3 or (
17+
int(hiredis_version[0]) == 3 and int(hiredis_version[1]) >= 2
1918
)
2019
if not HIREDIS_AVAILABLE:
2120
raise ImportError("hiredis package should be >= 3.2.0")

0 commit comments

Comments
 (0)