Show More
@@ -156,7 +156,7 b' def churn(ui, repo, **opts):' | |||||
156 |
|
156 | |||
157 | # make a list of tuples (name, lines) and sort it in descending order |
|
157 | # make a list of tuples (name, lines) and sort it in descending order | |
158 | ordered = stats.items() |
|
158 | ordered = stats.items() | |
159 |
ordered.sort( |
|
159 | ordered.sort(lambda x, y: cmp(y[1], x[1])) | |
160 |
|
160 | |||
161 | maximum = ordered[0][1] |
|
161 | maximum = ordered[0][1] | |
162 |
|
162 |
General Comments 0
You need to be logged in to leave comments.
Login now