--- a/app/soc/cache/home.py Wed May 27 03:31:27 2009 +0200
+++ b/app/soc/cache/home.py Wed May 27 03:31:58 2009 +0200
@@ -56,6 +56,7 @@
memcache_key = key(entity)
logging.info("Retrieving %s" % memcache_key)
+ # pylint: disable-msg=E1101
return memcache.get(memcache_key), memcache_key
def put(result, memcache_key, *args, **kwargs):
@@ -74,6 +75,7 @@
retention = 10*60
logging.info("Setting %s" % memcache_key)
+ # pylint: disable-msg=E1101
memcache.add(memcache_key, result, retention)
@@ -88,6 +90,7 @@
memcache_key = key(entity)
logging.info("Flushing %s" % memcache_key)
+ # pylint: disable-msg=E1101
memcache.delete(memcache_key)