diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-11-22 10:49:39 -0500 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-11-22 15:38:11 -0500 |
| commit | 8e9a21c02bc317ba927d758075c8562d0c0b2474 (patch) | |
| tree | e99a526c27f744a6d3f27968613ac871e58ec368 /cmd2/cmd2.py | |
| parent | 087c2066076e55c5f8200c0c6127bcd389aae67b (diff) | |
| download | cmd2-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.py | 1 |
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) |
