html_url is in the top-level 'commit' object, not in commit.commit. Also factor some code out for legibility. Seriously, what's with stuffing everything into inline functions?
html_url is in the top-level 'commit' object, not in commit.commit. Also factor some code out for legibility. Seriously, what's with stuffing everything into inline functions?