summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2021-11-22 10:49:39 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2021-11-22 15:38:11 -0500
commit8e9a21c02bc317ba927d758075c8562d0c0b2474 (patch)
treee99a526c27f744a6d3f27968613ac871e58ec368 /cmd2/cmd2.py
parent087c2066076e55c5f8200c0c6127bcd389aae67b (diff)
downloadcmd2-git-2.3.2.tar.gz
Fixed issue where a ns_provider could be passed None instead of its correct cmd2.Cmd or CommandSet value.2.3.2
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 09b3fe43..b36d40bc 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -5418,7 +5418,6 @@ class Cmd(cmd.Cmd):
:param cmd_support_func: command support function. This could be a completer or namespace provider
:param cmd_self: The `self` associated with the command or subcommand
- :return:
"""
# figure out what class the command support function was defined in
func_class: Optional[Type[Any]] = get_defining_class(cmd_support_func)