summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine Devlin <catherine.devlin@gmail.com>2008-06-09 10:46:00 -0400
committerCatherine Devlin <catherine.devlin@gmail.com>2008-06-09 10:46:00 -0400
commite6887fdfae2ba9fe6537768c8ef0b620d88fec83 (patch)
treee877b494de20a09e5f180f27221558cba171fe3b
parent5bafb6ec208bfee71a4587be24a579a60990e0ed (diff)
downloadcmd2-git-e6887fdfae2ba9fe6537768c8ef0b620d88fec83.tar.gz
fixed up unified pipe and redirect works on wc
-rwxr-xr-xcmd2.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd2.py b/cmd2.py
index 09a3641b..7dfb6533 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -285,10 +285,8 @@ class Cmd(cmd.Cmd):
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):