From 9f4948c68519e0ea83fefcb008d4b4b2fddc20d0 Mon Sep 17 00:00:00 2001 From: Abhijeet Kaur Date: Sun, 28 May 2017 03:24:44 +0530 Subject: [PATCH] bots: Remove unnecessary split() function from help bot. Remove unnecessary split() function from the file contrib_bots/bots/help/help.py and replaced it with equivalent simpler string. --- contrib_bots/bots/help/help.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/contrib_bots/bots/help/help.py b/contrib_bots/bots/help/help.py index 3fc2717..1e07f71 100644 --- a/contrib_bots/bots/help/help.py +++ b/contrib_bots/bots/help/help.py @@ -12,11 +12,7 @@ class HelpHandler(object): ''' def handle_message(self, message, client, state_handler): - help_content = ''' - Info on Zulip can be found here: - https://github.com/zulip/zulip - '''.strip() - + help_content = "Info on Zulip can be found here:\nhttps://github.com/zulip/zulip" client.send_reply(message, help_content) handler_class = HelpHandler