def get_memcached_client(expiration_time=0):
 if (CONF.cache.enabled and CONF.cache.memcache_servers):
  _warn_if_null_backend()
  return CacheClient(_get_default_cache_region(expiration_time=expiration_time))

def get_memcached_client ( expiration_time = 0 ) : if ( CONF . cache . enabled and CONF . cache . memcache_servers ) : _warn_if_null_backend ( ) return CacheClient ( _get_default_cache_region ( expiration_time = expiration_time ) )
used only when memcached is explicitly needed .