diff options
author | Guido van Rossum <guido@python.org> | 2007-10-15 01:27:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-10-15 01:27:53 (GMT) |
commit | d4ee167b835b6cae6fa0b9822a2bfd58ba57ba87 (patch) | |
tree | b6456dc8245a12d9e123e3d505654e77988902ec /Lib | |
parent | 3b7210d336c23737e02631e391d6adb114518274 (diff) | |
download | cpython-d4ee167b835b6cae6fa0b9822a2bfd58ba57ba87.zip cpython-d4ee167b835b6cae6fa0b9822a2bfd58ba57ba87.tar.gz cpython-d4ee167b835b6cae6fa0b9822a2bfd58ba57ba87.tar.bz2 |
Fix yet another stray 2.x-ism (maybe merged?).
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/distutils/dist.py | 3 |
1 files changed, 1 insertions, 2 deletions
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 @@ Common commands: (see '--help-commands' for more) 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) |