mirror of https://github.com/celery/kombu.git
Fix for redis-py version check.
This commit is contained in:
parent
81dd557f46
commit
2f76d1719b
|
@ -322,7 +322,7 @@ class Channel(virtual.Channel):
|
|||
|
||||
version = getattr(redis, "__version__", (0, 0, 0))
|
||||
if version:
|
||||
version = tuple(version.split("."))
|
||||
version = tuple(map(int, version.split(".")))
|
||||
if version < (2, 4, 4):
|
||||
raise VersionMismatch(
|
||||
"Redis transport requires redis-py versions 2.4.4 or later. "
|
||||
|
|
Loading…
Reference in New Issue