changeset 63:a96f824d1a24

use searchString
author catherine@Elli.myhome.westell.com
date Sat, 21 Jun 2008 19:46:33 -0400
parents 95e239c87010
children a0f7702f2a4b
files lineend.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lineend.py	Sat Jun 21 19:45:50 2008 -0400
+++ b/lineend.py	Sat Jun 21 19:46:33 2008 -0400
@@ -45,7 +45,7 @@
             result['inputFrom'] = found[0][1].strip()
     found = pipe_pattern.searchString(txt)
     if found:
-        result['pipeTo'] = found[0][1]
+        result['pipeTo'] = found[0][1].strip()
 
     return result