From 820e949faf048a23c6aa080631bb61e8ec8c3f39 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Wed, 10 Jan 2018 15:47:01 -0500 Subject: [PATCH] virtual_fs: Remove fs_sample_conversation(). We already have "help" for specific commands, so the fs_sample_conversation() feature was mostly redundant. --- zulip_bots/zulip_bots/bots/virtual_fs/virtual_fs.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/zulip_bots/zulip_bots/bots/virtual_fs/virtual_fs.py b/zulip_bots/zulip_bots/bots/virtual_fs/virtual_fs.py index 35fe4fd..e7eba9f 100644 --- a/zulip_bots/zulip_bots/bots/virtual_fs/virtual_fs.py +++ b/zulip_bots/zulip_bots/bots/virtual_fs/virtual_fs.py @@ -123,7 +123,6 @@ REGEXES = dict( def get_commands() -> Dict[str, Tuple[Any, List[str]]]: return { 'help': (fs_help, ['command']), - 'sample_conversation': (fs_sample_conversation, ['command']), 'ls': (fs_ls, ['optional_path']), 'mkdir': (fs_mkdir, ['path']), 'read': (fs_read, ['path']), @@ -178,9 +177,6 @@ def fs_new() -> Dict[str, Any]: def fs_help(fs: Dict[str, Any], user: str, cmd_name: str) -> Tuple[Dict[str, Any], Any]: return fs, syntax_help(cmd_name) -def fs_sample_conversation(fs: Dict[str, Any], user: str, cmd_name: str) -> Tuple[Dict[str, str], str]: - return fs, syntax_help(cmd_name) - def fs_mkdir(fs: Dict[str, Any], user: str, fn: str) -> Tuple[Dict[str, Any], Any]: path, msg = make_path(fs, user, fn) if msg: