diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 16:27:29 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 16:27:29 -0400 |
commit | f77c44dd79b484f96a3077fd7ca64fd5b3c35fa1 (patch) | |
tree | eebade8f826a972c2a9ea167db7248581c708257 /cmd2/cmd2.py | |
parent | d68b3feb3095ec717655972c5e4dc89d7c1ed579 (diff) | |
download | cmd2-git-f77c44dd79b484f96a3077fd7ca64fd5b3c35fa1.tar.gz |
Fixed a few comments where "redirecting" accidentally got changed to "_redirecting"
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index 3aa0895a..476edcaf 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -436,7 +436,7 @@ class Cmd(cmd.Cmd): # Used by complete() for readline tab completion self._completion_matches = [] - # Used to keep track of whether we are _redirecting or piping output + # Used to keep track of whether we are redirecting or piping output self._redirecting = False # Used to keep track of whether a continuation prompt is being displayed @@ -676,7 +676,7 @@ class Cmd(cmd.Cmd): if sys.platform.startswith('win') or os.environ.get('TERM') is not None: functional_terminal = True - # Don't attempt to use a pager that can block if _redirecting or running a script (either text or Python) + # Don't attempt to use a pager that can block if redirecting or running a script (either text or Python) # Also only attempt to use a pager if actually running in a real fully functional terminal if functional_terminal and not self._redirecting and not self._in_py and not self._script_dir: if self.colors.lower() == constants.COLORS_NEVER.lower(): |