summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-04-23 15:21:26 -0400
committerEric Lin <anselor@gmail.com>2018-04-23 15:21:26 -0400
commitbd04bf2ca91d3d07747fd99d65343fbac0119c89 (patch)
tree22f925be3d80fb50400a4e5fb13875e7e393400d /cmd2/cmd2.py
parent25d52d7301064278d4159dbb967ffd2f7d9fd21c (diff)
downloadcmd2-git-bd04bf2ca91d3d07747fd99d65343fbac0119c89.tar.gz
Changed initial value to a boolean.
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-xcmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 820e9441..8d8a5b07 100755
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -2070,7 +2070,7 @@ class Cmd(cmd.Cmd):
:param line: str - line of text read from input
:return: bool - True if cmdloop() should exit, False otherwise
"""
- stop = 0
+ stop = False
try:
statement = self._complete_statement(line)
(stop, statement) = self.postparsing_precmd(statement)