From 2f76d1719b5b8baad50558fc5527975068dae342 Mon Sep 17 00:00:00 2001 From: David Ziegler Date: Wed, 7 Sep 2011 22:33:17 -0700 Subject: [PATCH] Fix for redis-py version check. --- kombu/transport/pyredis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kombu/transport/pyredis.py b/kombu/transport/pyredis.py index 9125ee7a..eef0e447 100644 --- a/kombu/transport/pyredis.py +++ b/kombu/transport/pyredis.py @@ -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. "