def get_repos(organization, repositories):
    """
    Returns a list of GitHub repos
    :param organization: a GitHub organization
    :param repositories: a list of repositories to get from the organization
    """
    if repositories == "all":
        return organization.get_repos()
    return [organization.get_repo(repo) for repo in repositories]