summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-05-27 17:40:52 -0400
committerGitHub <noreply@github.com>2018-05-27 17:40:52 -0400
commit8f88f819fae7508066a81a8d961a7115f2ec4bed (patch)
treedb21d73cba1b851e7e95429018b1e79cf5476efe /cmd2/cmd2.py
parent6b6a36c41bd4d1ce3c7b8fbe46d935e599ccf744 (diff)
parent906feb79ba54fde2b0635c321c659922559779f3 (diff)
downloadcmd2-git-8f88f819fae7508066a81a8d961a7115f2ec4bed.tar.gz
Merge pull request #419 from python-cmd2/py_updates
Removed unused function
Diffstat (limited to 'cmd2/cmd2.py')
-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