@@ -1,6 +1,7 @@ |
||
| 1 | 1 |
# -*- coding: utf-8 -*- |
| 2 | 2 |
|
| 3 |
-import redis_extensions as redis |
|
| 3 |
+import redis |
|
| 4 |
+import redis_extensions |
|
| 4 | 5 |
|
| 5 | 6 |
|
| 6 | 7 |
def redis_conf(conf): |
@@ -13,4 +14,4 @@ def redis_conf(conf): |
||
| 13 | 14 |
|
| 14 | 15 |
|
| 15 | 16 |
def redis_connect(conf): |
| 16 |
- return redis.StrictRedisExtensions(connection_pool=redis.ConnectionPool(**redis_conf(conf))) |
|
| 17 |
+ return redis_extensions.StrictRedisExtensions(connection_pool=redis.ConnectionPool(**redis_conf(conf))) |