summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-05-26 02:39:15 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-05-26 02:39:15 -0400
commit5be70a0a438c1b78153b6ede8837dfd663ae20f0 (patch)
treec7f036b29dfcd48a9c7e4e89a738ec1c8f6f94c3
parent6b6a36c41bd4d1ce3c7b8fbe46d935e599ccf744 (diff)
downloadcmd2-git-5be70a0a438c1b78153b6ede8837dfd663ae20f0.tar.gz
Removed unused function
-rw-r--r--cmd2/cmd2.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 817a1f21..04758ed7 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2569,15 +2569,6 @@ Usage: Usage: unalias [-a] name [name ...]
except IOError as e:
self.perror(e)
- # noinspection PyUnusedLocal
- def onecmd_plus_hooks(cmd_plus_args):
- """Run a cmd2.Cmd command from a Python script or the interactive Python console.
-
- :param cmd_plus_args: str - command line including command and arguments to run
- :return: bool - True if cmdloop() should exit once leaving the interactive Python console
- """
- return self.onecmd_plus_hooks(cmd_plus_args + '\n')
-
bridge = PyscriptBridge(self)
self.pystate['run'] = run
self.pystate[self.pyscript_name] = bridge