summaryrefslogtreecommitdiff
path: root/Lib/distutils/dist.py
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
commite2533fe7a2b12292827450437345c99afc08bd95 (patch)
tree8db76f407a6106c5de68b749ccaee410f62b1316 /Lib/distutils/dist.py
parentee485b086e66f6c423e6c9b728d43a6ace071d55 (diff)
downloadcpython-e2533fe7a2b12292827450437345c99afc08bd95.tar.gz
Fix yet another stray 2.x-ism (maybe merged?).
Diffstat (limited to 'Lib/distutils/dist.py')
-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)