def main():
    parser = argparse.ArgumentParser()
    parser.add_argument(
        '--email-tag',
        action='store_true',
        default=False,
        help='print as an email tag for release notes',
    )
    parser.add_argument(
        'repository',
        help='the name of the repository, such as "openstack/nova"',
    )
    args = parser.parse_args()

    team_data = governance.get_team_data()
    try:
        name = governance.get_repo_owner(team_data, args.repository)
    except __HOLE__ as e:
        parser.error(str(e))
    else:
        if args.email_tag:
            name = '[' + name.split(' ')[0].lower() + ']'
        print(name)
dataset/ETHPy150Open openstack-infra/release-tools/releasetools/cmds/get_repo_owner.py/main