summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-16 11:46:31 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-16 11:46:31 -0400
commit3636ffe8af04ec0d04769599520c53838d872f7f (patch)
treed3bd036fe7ca25af2afb144580989b714c995741 /cmd2/cmd2.py
parent9b38c8c2a5da60676b49f91f4671be2e1e8b0d0e (diff)
parenteb882b2b308bb2e09761a74007ea308b489c2d56 (diff)
downloadcmd2-git-3636ffe8af04ec0d04769599520c53838d872f7f.tar.gz
Merge branch 'master' into default_sort_key
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 2c37635d..5c03a9c5 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2962,7 +2962,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)