summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2019-07-16 09:45:42 -0600
committerGitHub <noreply@github.com>2019-07-16 09:45:42 -0600
commiteb882b2b308bb2e09761a74007ea308b489c2d56 (patch)
treedabbaf6aa290e57c7140e4b1d32f1cd1f38bcaac /cmd2/cmd2.py
parent94b424e9c41f99c6eb268c6c97f09e99a8342de8 (diff)
parentd68f6893396109afa0c7ca4ecfe72ecf192cfc0d (diff)
downloadcmd2-git-eb882b2b308bb2e09761a74007ea308b489c2d56.tar.gz
Merge pull request #720 from python-cmd2/migrating_docs
Write documentation for migrating from cmd
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 4ba2e83e..a4036a8e 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2963,7 +2963,7 @@ class Cmd(cmd.Cmd):
if orig_value != new_value:
onchange_hook = getattr(self, '_onchange_{}'.format(param), None)
if onchange_hook is not None:
- onchange_hook(old=orig_value, new=new_value)
+ onchange_hook(old=orig_value, new=new_value) # pylint: disable=not-callable
shell_parser = ArgParser()
shell_parser.add_argument('command', help='the command to run', completer_method=shell_cmd_complete)