Commit e95cf1c8 authored by Georg Brandl's avatar Georg Brandl

Fix cmp vs. key argument for list.sort.

parent 2054ee9b
......@@ -187,7 +187,7 @@ class PyBuildExt(build_ext):
longest = max(longest, max([len(name) for name in self.failed]))
def print_three_column(lst):
lst.sort(cmp=str.lower)
lst.sort(key=str.lower)
# guarantee zip() doesn't drop anything
while len(lst) % 3:
lst.append("")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment