##// END OF EJS Templates
Fix for Python 2.3 compatibility....
Shun-ichi GOTO -
r3060:50e0392d default
parent child Browse files
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(cmp=lambda x, y: cmp(y[1], x[1]))
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