Commit 27cd6610 authored by Guido van Rossum's avatar Guido van Rossum

Fix yet another stray 2.x-ism (maybe merged?).

parent 4cb4040d
...@@ -280,8 +280,7 @@ Common commands: (see '--help-commands' for more) ...@@ -280,8 +280,7 @@ Common commands: (see '--help-commands' for more)
from pprint import pformat from pprint import pformat
if commands is None: # dump all command option dicts if commands is None: # dump all command option dicts
commands = self.command_options.keys() commands = sorted(self.command_options.keys())
commands.sort()
if header is not None: if header is not None:
print(indent + header) print(indent + header)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment