# HG changeset patch # User catherine@localhost # Date 1213022760 14400 # Node ID 2811505b09692d0b9078c4fb7c5c7fd1a7d80ff4 # Parent 49de899a05a81f57ef076087d3b0d6bf28a8211f fixed up unified pipe and redirect works on wc diff -r 49de899a05a8 -r 2811505b0969 cmd2.py --- a/cmd2.py Mon Jun 09 10:28:46 2008 -0400 +++ b/cmd2.py Mon Jun 09 10:46:00 2008 -0400 @@ -285,10 +285,8 @@ statementEndPattern = re.compile(r'[%s]\s*$' % terminators) def statementHasEnded(self, lines): - #import pdb; pdb.set_trace() return bool(self.statementEndPattern.search(lines)) \ or lines[-3:] == 'EOF' \ - or self.findPipe(lines)[1] \ or self.parseRedirectors(lines)[1] def finishStatement(self, firstline):