def _get_info_from_infocache(env, account, container=None):
 cache_key = get_cache_key(account, container)
 if (('swift.infocache' in env) and (cache_key in env['swift.infocache'])):
  return env['swift.infocache'][cache_key]
 return None

def _get_info_from_infocache ( env , account , container = None ) : cache_key = get_cache_key ( account , container ) if ( ( 'swift.infocache' in env ) and ( cache_key in env [ 'swift.infocache' ] ) ) : return env [ 'swift.infocache' ] [ cache_key ] return None
get cached account or container information from request-environment cache .