Skip to content

Commit

Permalink
Sort files sourced per addon.
Browse files Browse the repository at this point in the history
  • Loading branch information
zeekay committed Feb 29, 2012
1 parent a11361c commit 0a248f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vim_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def print_results(results, addons_dir=DEFAULT_ADDONS_DIR):

for addon, averages in sorted(group_by_addon(results, addons_dir).items(), key=lambda x: x[1]['total_average']):
print addon
for file, average in averages['files']:
for file, average in sorted(averages['files'], key=lambda x: x[1]):
print '%07.3f - %s' % (average, file)
print '%07.3f total' % averages['total_average']
print
Expand Down

0 comments on commit 0a248f3

Please sign in to comment.