diff options
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-x | cmd2/cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index d9cbd2b0..8165f411 100755 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -2181,7 +2181,7 @@ class Cmd(cmd.Cmd): # raise EmptyStatement() # statement = self.parser_manager.parsed(line) # deleteme statement = self.command_parser.parseString(line) - while statement.multilineCommand and (statement.terminator == ''): + while statement.multilineCommand and not statement.terminator: line = '%s\n%s' % (statement.raw, self.pseudo_raw_input(self.continuation_prompt)) statement = self.command_parser.parseString(line) |