equal
deleted
inserted
replaced
26 |
26 |
27 # Default Redis handler |
27 # Default Redis handler |
28 try: |
28 try: |
29 from redis import StrictRedis |
29 from redis import StrictRedis |
30 except ImportError: |
30 except ImportError: |
31 logger.debug("Missing ") |
31 logger.debug("Missing redis package. Can't init Redis cache handler.") |
32 else: |
32 else: |
33 @utility_config(name='redis', provides=ICacheHandler) |
33 @utility_config(name='redis', provides=ICacheHandler) |
34 class RedisCacheHandler(object): |
34 class RedisCacheHandler(object): |
35 """Redis cache handler utility""" |
35 """Redis cache handler utility""" |
36 |
36 |