# HG changeset patch # User catherine@dellzilla # Date 1224880705 14400 # Node ID f7b0152c57f97e6f772c6b59ca89092269eb11b2 # Parent 3e2651cbe37635be0ae78a4ca25f64993e88f8db cmd2 test working diff -r 3e2651cbe376 -r f7b0152c57f9 cmd2/cmd2.py --- 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() diff -r 3e2651cbe376 -r f7b0152c57f9 cmd2/exampleSession.txt --- a/cmd2/exampleSession.txt Fri Oct 24 16:13:47 2008 -0400 +++ b/cmd2/exampleSession.txt Fri Oct 24 16:38:25 2008 -0400 @@ -34,4 +34,4 @@ spam spam spam -example >>> \ No newline at end of file +example >>> \ No newline at end of file