summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 3aa4beb3..eeeeb0d1 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2977,7 +2977,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 = ACArgumentParser()
setattr(shell_parser.add_argument('command', help='the command to run'),