diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-01-27 23:24:26 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-01-27 23:24:26 -0500 |
commit | 691d7759dab0c8a0e11b5c64bfb84c25fcfc7515 (patch) | |
tree | fd271ddc070c2f7df9563d3a81d6d9bd8a188688 | |
parent | 415f1cb1c7dd5fbfe21cca0c6eea2eb998bbd1a0 (diff) | |
download | cmd2-git-691d7759dab0c8a0e11b5c64bfb84c25fcfc7515.tar.gz |
Addressed PR comments
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | cmd2/cmd2.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e8f07b93..7065983d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 0.9.26 (January 26, 2020) +## 0.9.26 (TBD, 2020) * Breaking changes * Renamed `locals_in_py` attribute of `cmd2.Cmd` to `self_in_py` * The following public attributes of `cmd2.Cmd` are no longer settable at runtime by end users: diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index a36bcdb6..f3b7c4a4 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -181,8 +181,6 @@ class Cmd(cmd.Cmd): super().__init__(completekey=completekey, stdin=stdin, stdout=stdout) # Attributes which should NOT be dynamically settable via the set command at runtime - # To prevent a user from altering these with the py/ipy commands, remove self_in_py from the - # settable dictionary during your applications's __init__ method. self.default_to_shell = False # Attempt to run unrecognized commands as shell commands self.quit_on_sigint = False # Quit the loop on interrupt instead of just resetting prompt self.allow_redirection = allow_redirection # Security setting to prevent redirection of stdout |