diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-04-10 09:57:27 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-04-10 09:57:27 -0400 |
commit | 372a3845be208e43f4e7060d881c290b94da4038 (patch) | |
tree | d327cec22a82842c557688b7b8d9fac760672d4d /cmd2/cmd2.py | |
parent | 6e56ad2040b20b5a3b62e0f16ae72be7743d667e (diff) | |
download | cmd2-git-372a3845be208e43f4e7060d881c290b94da4038.tar.gz |
Removed unused import
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index aeaa1543..9f772741 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -3032,7 +3032,7 @@ class Cmd(cmd.Cmd): @with_argparser(py_parser, preserve_quotes=True) def do_py(self, args: argparse.Namespace) -> bool: """Invoke Python command or shell""" - from .pyscript_bridge import PyscriptBridge, CommandResult + from .pyscript_bridge import PyscriptBridge if self._in_py: err = "Recursively entering interactive Python consoles is not allowed." self.perror(err, traceback_war=False) |