def _commits_by_author(self, commits):
        author_commits = {}
        for commit in commits:
            author_commits.setdefault(commit.author, []).append(commit)
        return author_commits
Bucket commits by author.
dataset/ETHPy150Open brettcannon/free-labour/freelabour/project.py/Project._commits_by_author