diff options
| author | Catherine Devlin <catherine.devlin@gmail.com> | 2008-06-09 10:46:00 -0400 |
|---|---|---|
| committer | Catherine Devlin <catherine.devlin@gmail.com> | 2008-06-09 10:46:00 -0400 |
| commit | e6887fdfae2ba9fe6537768c8ef0b620d88fec83 (patch) | |
| tree | e877b494de20a09e5f180f27221558cba171fe3b | |
| parent | 5bafb6ec208bfee71a4587be24a579a60990e0ed (diff) | |
| download | cmd2-git-e6887fdfae2ba9fe6537768c8ef0b620d88fec83.tar.gz | |
fixed up unified pipe and redirect works on wc
| -rwxr-xr-x | cmd2.py | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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):
|
