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

This commit is contained in:
Guido van Rossum 2007-10-15 01:27:53 +00:00
parent 3b7210d336
commit d4ee167b83
1 changed files with 1 additions and 2 deletions

View File

@ -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)