def _get(self, commit_id):
    try:
        commit = Commit.one(id=commit_id)
    except NotFound:
        self.abort_404_not_found()
    return commit
def _get(self, commit_id):
    try:
        commit = Commit.one(id=commit_id)
    except NotFound:
        self.abort_404_not_found()
    return commit