commit | d4ee167b835b6cae6fa0b9822a2bfd58ba57ba87 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Oct 15 01:27:53 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Oct 15 01:27:53 2007 +0000 |
tree | b6456dc8245a12d9e123e3d505654e77988902ec | |
parent | 3b7210d336c23737e02631e391d6adb114518274 [diff] [blame] |
Fix yet another stray 2.x-ism (maybe merged?).
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py index 974ee51..631df48 100644 --- a/Lib/distutils/dist.py +++ b/Lib/distutils/dist.py
@@ -280,8 +280,7 @@ from pprint import pformat if commands is None: # dump all command option dicts - commands = self.command_options.keys() - commands.sort() + commands = sorted(self.command_options.keys()) if header is not None: print(indent + header)