From 691d7759dab0c8a0e11b5c64bfb84c25fcfc7515 Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Mon, 27 Jan 2020 23:24:26 -0500 Subject: Addressed PR comments --- CHANGELOG.md | 2 +- cmd2/cmd2.py | 2 -- 2 files changed, 1 insertion(+), 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 -- cgit v1.2.1