summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-10-15 01:27:53 +0000
committerGuido van Rossum <guido@python.org>2007-10-15 01:27:53 +0000
commitd4ee167b835b6cae6fa0b9822a2bfd58ba57ba87 (patch)
treeb6456dc8245a12d9e123e3d505654e77988902ec
parent3b7210d336c23737e02631e391d6adb114518274 (diff)
downloadcpython-git-d4ee167b835b6cae6fa0b9822a2bfd58ba57ba87.tar.gz
Fix yet another stray 2.x-ism (maybe merged?).
-rw-r--r--Lib/distutils/dist.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/distutils/dist.py b/Lib/distutils/dist.py
index 974ee5163b..631df48cd0 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)