app/soc/cache/sidebar.py
changeset 2365 a66e1dd8ced7
parent 1600 0aa3de1b2acc
--- a/app/soc/cache/sidebar.py	Wed May 27 03:31:27 2009 +0200
+++ b/app/soc/cache/sidebar.py	Wed May 27 03:31:58 2009 +0200
@@ -41,6 +41,7 @@
   """
 
   memcache_key = key(id)
+  # pylint: disable-msg=E1101
   return memcache.get(memcache_key), memcache_key
 
 
@@ -53,7 +54,7 @@
 
   # Store sidebar for just three minutes to force a refresh every so often
   retention = 3*60
-
+  # pylint: disable-msg=E1101
   memcache.add(memcache_key, sidebar, retention)
 
 
@@ -70,6 +71,7 @@
     id = soc.logic.accounts.getCurrentAccount()
 
   memcache_key = key(id)
+  # pylint: disable-msg=E1101
   memcache.delete(memcache_key)
   soc.cache.rights.flush(id)