diff cmd2.py @ 53:2811505b0969

fixed up unified pipe and redirect works on wc
author catherine@localhost
date Mon, 09 Jun 2008 10:46:00 -0400
parents 49de899a05a8
children a791d615545c
line wrap: on
line diff
--- 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):