summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
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 cde3892b..3e9ea9bc 100644
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2022,8 +2022,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