def check_multiple()

in crashclouseau/hgauthors.py [0:0]


def check_multiple(author):
    """Check for multiple authors we can have in one author field"""
    authors = SPLIT_PAT.split(author)
    if len(authors) >= 2 and all("@" in a for a in authors):
        res = []
        fail = []
        for author in authors:
            author = author.strip()
            r = check_common(author)
            if r:
                if isinstance(r, list):
                    res += r
                else:
                    res.append(r)
            else:
                fail.append(author)
        return res, fail
    return None, None