diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 15:00:59 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 15:00:59 -0400 |
commit | 70bf9e1a12b89bb913c11fb07893ab4b9cab2576 (patch) | |
tree | 27bb62898d635bcaa8e6e8182d52f5105210b3f6 /cmd2/pyscript_bridge.py | |
parent | c12ba0ff11b3a8fd083c641cb9149aff6494bbf9 (diff) | |
download | cmd2-git-70bf9e1a12b89bb913c11fb07893ab4b9cab2576.tar.gz |
Began work to minimize public API
Diffstat (limited to 'cmd2/pyscript_bridge.py')
-rw-r--r-- | cmd2/pyscript_bridge.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/pyscript_bridge.py b/cmd2/pyscript_bridge.py index 01d283ea..0638f1fb 100644 --- a/cmd2/pyscript_bridge.py +++ b/cmd2/pyscript_bridge.py @@ -97,7 +97,7 @@ class PyscriptBridge(object): with redirect_stderr(copy_stderr): stop = self._cmd2_app.onecmd_plus_hooks(command, pyscript_bridge_call=True) finally: - with self._cmd2_app.sigint_protection: + with self._cmd2_app._sigint_protection: self._cmd2_app.stdout = copy_cmd_stdout.inner_stream self.stop = stop or self.stop |