def METHOD_NAME(project):
    '''
    Download the package list for the project of the given name. This will return the contents as a single mulit-line string.
    '''
    url = PROJECT_TO_URL_MAP[project] + 'package-list'
    logging.info('requesting package list %s from %s', project, url)
    r = requests.get(url, allow_redirects=True, timeout=5)
    if r.ok:
        logging.info('download successful for project %s', project)
        contents = r.text
        logging.debug('packages for project %s: %s:', project, contents)
        if project in EXCLUDED_PACKAGES:
            logging.info('removing certain packages from %s', project)
            exclude_set = EXCLUDED_PACKAGES[project]
            packages = filter(lambda package: package not in exclude_set, contents.split('\n'))
            contents = '\n'.join(packages)
        return contents
    else:
        logging.error('Unable to download package list for %s from %s', project, url)
        raise RuntimeException('Received non-OK code {} when retrieving package list from {}'.format(r.status_code, url))