def CacheStats(formatted_results):
 kinds_and_sizes = dict(((kind['kind_name'], kind['total_bytes']) for kind in formatted_results))
 memcache.set(KINDS_AND_SIZES_VAR, kinds_and_sizes, namespace=MEMCACHE_NAMESPACE)

def CacheStats ( formatted_results ) : kinds_and_sizes = dict ( ( ( kind [ 'kind_name' ] , kind [ 'total_bytes' ] ) for kind in formatted_results ) ) memcache . set ( KINDS_AND_SIZES_VAR , kinds_and_sizes , namespace = MEMCACHE_NAMESPACE )
cache last retrieved kind size values in memcache .