diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2022-01-26 15:51:59 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-26 15:51:59 -0500 |
| commit | b052dcd1bc439aab9b2d2931a0898c7862dc3850 (patch) | |
| tree | 54f3759bc2c2f54b65b017369e292c2c8c8f3400 /cmd2 | |
| parent | de5cd40c388517e558cf74dbec61c64e8ad6ca75 (diff) | |
| download | cmd2-git-b052dcd1bc439aab9b2d2931a0898c7862dc3850.tar.gz | |
Added PassThroughException to __init__.py imports. (#1194)
Co-authored-by: Todd Leonhardt <todd.leonhardt@gmail.com>
Diffstat (limited to 'cmd2')
| -rw-r--r-- | cmd2/__init__.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cmd2/__init__.py b/cmd2/__init__.py index 3a9d05fc..46dbca80 100644 --- a/cmd2/__init__.py +++ b/cmd2/__init__.py @@ -56,7 +56,13 @@ from .cmd2 import Cmd from .command_definition import CommandSet, with_default_category from .constants import COMMAND_NAME, DEFAULT_SHORTCUTS from .decorators import with_argument_list, with_argparser, with_category, as_subcommand_to -from .exceptions import Cmd2ArgparseError, CommandSetRegistrationError, CompletionError, SkipPostcommandHooks +from .exceptions import ( + Cmd2ArgparseError, + CommandSetRegistrationError, + CompletionError, + PassThroughException, + SkipPostcommandHooks, +) from . import plugin from .parsing import Statement from .py_bridge import CommandResult |
