Skip to content

Commit 5be70a0

Browse files
committed
Removed unused function
1 parent 6b6a36c commit 5be70a0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cmd2/cmd2.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2569,15 +2569,6 @@ def run(filename):
25692569
except IOError as e:
25702570
self.perror(e)
25712571

2572-
# noinspection PyUnusedLocal
2573-
def onecmd_plus_hooks(cmd_plus_args):
2574-
"""Run a cmd2.Cmd command from a Python script or the interactive Python console.
2575-
2576-
:param cmd_plus_args: str - command line including command and arguments to run
2577-
:return: bool - True if cmdloop() should exit once leaving the interactive Python console
2578-
"""
2579-
return self.onecmd_plus_hooks(cmd_plus_args + '\n')
2580-
25812572
bridge = PyscriptBridge(self)
25822573
self.pystate['run'] = run
25832574
self.pystate[self.pyscript_name] = bridge

0 commit comments

Comments
 (0)