Make use of the 'sorted' built-in
commita59672cc51e35da6d06105d1c5bd9dbaa0c8e9fe
authorSverre Rabbelier <sverre@rabbelier.nl>
Thu, 17 Jul 2008 20:02:42 +0000 (17 22:02 +0200)
committerSverre Rabbelier <sverre@rabbelier.nl>
Thu, 17 Jul 2008 20:02:42 +0000 (17 22:02 +0200)
tree051b452098742afbf0cc217e2f82c4051cc739ec
parent84a7cf8fc5149037c0fb637ae7b9956f079d6f76
Make use of the 'sorted' built-in

This increases readability, instead of first extracting the
keys to the dictionary, sorting it, and then iterating
those, iterate over sorted(dict).
src/git_stats/author.py
src/stats.py