diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 10:13:12 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 10:13:12 -0400 |
commit | ea1716ad0c43ce0c2c354836dbc36e4ae419afb6 (patch) | |
tree | 901fcd355c5aa4912f12d6b09127ae0c3a1dc7d8 /examples | |
parent | a1be014e621bd1b9407cfb1eeefdd95ff67dd815 (diff) | |
download | cmd2-git-ea1716ad0c43ce0c2c354836dbc36e4ae419afb6.tar.gz |
Fix unit test failures I introduced in last commit
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/hooks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/hooks.py b/examples/hooks.py index c533c696..42224403 100755 --- a/examples/hooks.py +++ b/examples/hooks.py @@ -38,10 +38,10 @@ class CmdLineApp(cmd2.Cmd): # Setting this true makes it run a shell command if a cmd2/cmd command doesn't exist # default_to_shell = True def __init__(self, *args, **kwargs): - # sneakily remove the cmd2.Cmd command called load + # sneakily remove the cmd2.Cmd command called run_script # this lets a user enter a command like "l5" and allows it to # be unambiguous - delattr(cmd2.Cmd, "do_load") + delattr(cmd2.Cmd, "do_run_script") super().__init__(*args, **kwargs) |