summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/dist.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-10-15 01:27:53 (GMT)
committerGuido van Rossum <guido@python.org>2007-10-15 01:27:53 (GMT)
commitd4ee167b835b6cae6fa0b9822a2bfd58ba57ba87 (patch)
treeb6456dc8245a12d9e123e3d505654e77988902ec /Lib/distutils/dist.py
parent3b7210d336c23737e02631e391d6adb114518274 (diff)
downloadcpython-d4ee167b835b6cae6fa0b9822a2bfd58ba57ba87.zip
cpython-d4ee167b835b6cae6fa0b9822a2bfd58ba57ba87.tar.gz
cpython-d4ee167b835b6cae6fa0b9822a2bfd58ba57ba87.tar.bz2
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 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)