Blame SOURCES/Support-for-older-Redis-Python-binding.patch

da6803
From 8167153cc069eacd041b0b0d6bb19150f291d881 Mon Sep 17 00:00:00 2001
da6803
From: Marek Goldmann <marek.goldmann@gmail.com>
da6803
Date: Thu, 21 Nov 2013 11:12:22 +0100
da6803
Subject: [PATCH] Support for older Redis Python binding
da6803
da6803
---
da6803
 lib/cache.py | 2 +-
da6803
 1 file changed, 1 insertion(+), 1 deletion(-)
da6803
da6803
diff --git a/lib/cache.py b/lib/cache.py
da6803
index 4b0f93d..534eb55 100644
da6803
--- a/lib/cache.py
da6803
+++ b/lib/cache.py
da6803
@@ -29,7 +29,7 @@ def init():
da6803
     for k, v in cache.iteritems():
da6803
         redis_opts[k] = v
da6803
     logging.info('Redis config: {0}'.format(redis_opts))
da6803
-    redis_conn = redis.StrictRedis(host=redis_opts['host'],
da6803
+    redis_conn = redis.Redis(host=redis_opts['host'],
da6803
                                    port=int(redis_opts['port']),
da6803
                                    db=int(redis_opts['db']),
da6803
                                    password=redis_opts['password'])
da6803
-- 
da6803
1.8.5.3
da6803