# HG changeset patch # User catherine@Elli.myhome.westell.com # Date 1214091993 14400 # Node ID a96f824d1a24c00d25d3ec8c676ad4960ecf4f74 # Parent 95e239c87010e3da85ee69e3331f0e5c25580658 use searchString diff -r 95e239c87010 -r a96f824d1a24 lineend.py --- 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