summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2019-07-14 20:23:41 -0600
committerkotfu <kotfu@kotfu.net>2019-07-14 20:23:41 -0600
commitaa34722a54e2ccfd2b831624e6219464e520d834 (patch)
tree0b4e23e494e69eba5e86a5a6d8287930d83afe9a
parent3307760a3361d33ed16943588ad4a0f1df4b59d3 (diff)
downloadcmd2-git-aa34722a54e2ccfd2b831624e6219464e520d834.tar.gz
Fix pylint warning
-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'),