in crashclouseau/hgauthors.py [0:0]
def collect_authors(path, data=None):
"""Collect authors from a pushlog"""
if not data:
with open(path, "r") as In:
data = json.load(In)
toanalyze = set()
for i in data:
author = i["author"]
if author not in toanalyze:
toanalyze.add(clean_author(author))
res = set(x for author in toanalyze for x in analyze_author(author, clean=False))
return res