def analyze_author()

in crashclouseau/hgauthors.py [0:0]


def analyze_author(author, clean=True):
    """Analyze an author to try to guess the triple (email, realname, nickname)"""
    if clean:
        author = clean_author(author)

    r = analyze_author_helper(author)
    if r:
        if not isinstance(r, list):
            return [post_process(r, author)]
        else:
            return [post_process(x, author) for x in r]

    return []