def METHOD_NAME(cls, project_paths):
    projects = None
    for project_path in project_paths:
        try:
            with open(project_path, 'r') as projects_file:
                projects = cls()
                projects.load(projects_file)
                break
        except:
            projects = None
    if not projects:
        raise RuntimeError('No project definitions found in {!r}'.format(
            project_paths))
    return projects