Updated comments and logs
authorThierry Florac <thierry.florac@onf.fr>
Thu, 01 Jun 2017 15:08:53 +0200
changeset 1 e89686e172cd
parent 0 30591ce88556
child 2 9c54d3792816
Updated comments and logs
src/pyams_cache/handler/memcached.py
src/pyams_cache/handler/redis.py
--- a/src/pyams_cache/handler/memcached.py	Thu May 18 13:45:02 2017 +0200
+++ b/src/pyams_cache/handler/memcached.py	Thu Jun 01 15:08:53 2017 +0200
@@ -49,7 +49,7 @@
             self.client.set(key, value)
 
 
-# Aio Memcached handler
+# AsyncIO Memcached handler
 try:
     from aiomcache import Client as MemcachedClient
 except ImportError:
--- a/src/pyams_cache/handler/redis.py	Thu May 18 13:45:02 2017 +0200
+++ b/src/pyams_cache/handler/redis.py	Thu Jun 01 15:08:53 2017 +0200
@@ -28,7 +28,7 @@
 try:
     from redis import StrictRedis
 except ImportError:
-    logger.debug("Missing ")
+    logger.debug("Missing redis package. Can't init Redis cache handler.")
 else:
     @utility_config(name='redis', provides=ICacheHandler)
     class RedisCacheHandler(object):