Show help lines only once

fixes #9018
This commit is contained in:
André Apitzsch 2018-03-28 20:13:05 +02:00
parent 97bbc548c4
commit 612b7b4302
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class CommandProcessor(object):
def list_commands(self):
commands = list_commands(self.COMMAND_HOST)
commands = dict(commands)
return sorted(list(commands.values()), key=lambda k: k.__repr__())
return sorted(set(commands.values()), key=lambda k: k.__repr__())
class Command(object):