def _get_info_from_caches(app, env, account, container=None):
 info = _get_info_from_infocache(env, account, container)
 if (info is None):
  info = _get_info_from_memcache(app, env, account, container)
 return info

def _get_info_from_caches ( app , env , account , container = None ) : info = _get_info_from_infocache ( env , account , container ) if ( info is None ) : info = _get_info_from_memcache ( app , env , account , container ) return info
get the cached info from env or memcache in that order .