summaryrefslogtreecommitdiff
path: root/clcommands.py
diff options
context:
space:
mode:
Diffstat (limited to 'clcommands.py')
-rw-r--r--clcommands.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/clcommands.py b/clcommands.py
index 19a6c07..d061dce 100644
--- a/clcommands.py
+++ b/clcommands.py
@@ -277,8 +277,7 @@ class ListCommandsCommand(Command):
print '--help'
print '--' + optname
else:
- commands = _COMMANDS.keys()
- commands.sort()
+ commands = sorted(_COMMANDS.keys())
for command in commands:
cmd = _COMMANDS[command]
if not cmd.hidden: