summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-09-09 00:42:37 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-09-09 00:42:37 -0400
commita95034f9537b498acb09943cde7c323001206937 (patch)
treecd7484eaf37110bdea5b0a3af0bfff5d22ae3d34 /cmd2/cmd2.py
parent5bc9b967d347356556d30bb04f0a2a9f7662aa06 (diff)
parented21e63be4688c0d986238cc9bd0ee6f208da381 (diff)
downloadcmd2-git-a95034f9537b498acb09943cde7c323001206937.tar.gz
Merge branch '2.0' into read_input
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 4e88c4ff..172d5264 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2075,8 +2075,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