Yann Leboulanger pushed to branch master at gajim / gajim

Commits:
612b7b43 by André Apitzsch at 2018-03-28T20:13:05+02:00
Show help lines only once

fixes #9018

- - - - -


1 changed file:

- gajim/command_system/framework.py


Changes:

=====================================
gajim/command_system/framework.py
=====================================
--- a/gajim/command_system/framework.py
+++ b/gajim/command_system/framework.py
@@ -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):
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/612b7b43024edd543a5af1d555859bb4f47294a1

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/612b7b43024edd543a5af1d555859bb4f47294a1
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to