[Python-3000-checkins] r58464 - python/branches/py3k/Lib/distutils/dist.py

guido.van.rossum python-3000-checkins at python.org
Mon Oct 15 03:27:53 CEST 2007


Author: guido.van.rossum
Date: Mon Oct 15 03:27:53 2007
New Revision: 58464

Modified:
   python/branches/py3k/Lib/distutils/dist.py
Log:
Fix yet another stray 2.x-ism (maybe merged?).


Modified: python/branches/py3k/Lib/distutils/dist.py
==============================================================================
--- python/branches/py3k/Lib/distutils/dist.py	(original)
+++ python/branches/py3k/Lib/distutils/dist.py	Mon Oct 15 03:27:53 2007
@@ -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)


More information about the Python-3000-checkins mailing list