def gather()

in crashclouseau/hgauthors.py [0:0]


def gather(authors):
    """Try to gather the same authors in the same bucket"""
    res = []
    for author in authors:
        added = False
        for r in res:
            if equal_author(r[0], author):
                r.append(author)
                added = True
                break
        if not added:
            res.append([author])
    return res