author | Shun-ichi GOTO <shunichi.goto@gmail.com> |
Tue, 05 Sep 2006 12:40:45 +0900 | |
changeset 3057 | 50e0392d51df |
parent 3049 | 51083c31db04 |
child 3058 | 713de12d9ce5 |
contrib/churn.py | file | annotate | diff | comparison | revisions |
--- a/contrib/churn.py +++ b/contrib/churn.py @@ -156,7 +156,7 @@ def churn(ui, repo, **opts): # make a list of tuples (name, lines) and sort it in descending order ordered = stats.items() - ordered.sort(cmp=lambda x, y: cmp(y[1], x[1])) + ordered.sort(lambda x, y: cmp(y[1], x[1])) maximum = ordered[0][1]