summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-09-09 00:39:33 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-09-09 00:39:33 -0400
commited21e63be4688c0d986238cc9bd0ee6f208da381 (patch)
tree977347463287b33610cbb55fd5da892cb4aeb773 /cmd2/cmd2.py
parentbd9b7f307f29385244265128f4924abd14f70f39 (diff)
parent631ed8a5c4f3a6884b5b3398b14998db48b73d40 (diff)
downloadcmd2-git-ed21e63be4688c0d986238cc9bd0ee6f208da381.tar.gz
Merge branch 'master' into 2.0
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r--cmd2/cmd2.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 118b8ce5..171109df 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2038,8 +2038,7 @@ class Cmd(cmd.Cmd):
# we need to run the finalization hooks
raise EmptyStatement
- # This will be a utils.RedirectionSavedState object for the command
- redir_saved_state = None
+ redir_saved_state = None # type: Optional[utils.RedirectionSavedState]
try:
# Get sigint protection while we set up redirection