diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-06-04 15:55:16 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-06-04 15:55:16 -0400 |
commit | c4fd5b6403651ccc89976edd4e04549471b4a23b (patch) | |
tree | a254b809bc647fe80e6aff46755d9aaaa2972dc9 /tests/test_cmd2.py | |
parent | d1438e07d48a11ef4405305277422b84cbaef06a (diff) | |
download | cmd2-git-c4fd5b6403651ccc89976edd4e04549471b4a23b.tar.gz |
Removed _STOP_AND_EXIT cmd2 class member since it was meant to be a boolean constant and was only used internally
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r-- | tests/test_cmd2.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 4fc9fd59..7ea4f227 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1950,7 +1950,8 @@ Usage: exit [exit_code] self.exit_code = -1 self._should_quit = True - return self._STOP_AND_EXIT + # Return True to stop the command loop + return True def postloop(self) -> None: """Hook method executed once when the cmdloop() method is about to return.""" |