From bd04bf2ca91d3d07747fd99d65343fbac0119c89 Mon Sep 17 00:00:00 2001 From: Eric Lin Date: Mon, 23 Apr 2018 15:21:26 -0400 Subject: Changed initial value to a boolean. --- cmd2/cmd2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd2/cmd2.py') 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) -- cgit v1.2.1