Mercurial > python-cmd2
changeset 108:f7b0152c57f9
cmd2 test working
author | catherine@dellzilla |
---|---|
date | Fri, 24 Oct 2008 16:38:25 -0400 |
parents | 3e2651cbe376 |
children | 78c4db4c2045 |
files | cmd2/cmd2.py cmd2/exampleSession.txt |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/cmd2/cmd2.py Fri Oct 24 16:13:47 2008 -0400 +++ b/cmd2/cmd2.py Fri Oct 24 16:38:25 2008 -0400 @@ -727,7 +727,9 @@ prompt = pyparsing.Suppress(pyparsing.lineStart + self.cmdapp.prompt) continuationPrompt = pyparsing.Suppress(pyparsing.lineStart + self.cmdapp.continuationPrompt) self.cmdtxtPattern = (prompt + pyparsing.restOfLine + pyparsing.ZeroOrMore( - pyparsing.lineEnd + continuationPrompt + pyparsing.restOfLine))("command") + pyparsing.lineEnd + continuationPrompt + pyparsing.restOfLine))("command") + + pass def inputGenerator(self): while True: self.refreshCommandFinder()