From a8d3ab2f64c3f8d76e687ecffdfd2211fc61b158 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Sat, 5 Sep 2020 02:58:20 -0400 Subject: Added type hint --- cmd2/cmd2.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd2/cmd2.py') 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 -- cgit v1.2.1