diff options
author | Marc Laukien <marc@zeroc.com> | 2001-09-03 00:26:54 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-09-03 00:26:54 +0000 |
commit | 45dce7b649d5e7b0e41e1e36d5a8054977dda0a2 (patch) | |
tree | 7514176e655ea4aa0ac81dea9a246aec5025c119 /cpp/test/Slice/errorDetection/run.py | |
parent | little endian (diff) | |
download | ice-45dce7b649d5e7b0e41e1e36d5a8054977dda0a2.tar.bz2 ice-45dce7b649d5e7b0e41e1e36d5a8054977dda0a2.tar.xz ice-45dce7b649d5e7b0e41e1e36d5a8054977dda0a2.zip |
fixes
Diffstat (limited to 'cpp/test/Slice/errorDetection/run.py')
-rwxr-xr-x | cpp/test/Slice/errorDetection/run.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/test/Slice/errorDetection/run.py b/cpp/test/Slice/errorDetection/run.py index 713818fa60d..65d56b05688 100755 --- a/cpp/test/Slice/errorDetection/run.py +++ b/cpp/test/Slice/errorDetection/run.py @@ -39,11 +39,10 @@ for file in files: continue regex2 = re.compile(r"^.*(?=" + file + ")") - diffs = "" i = 0 - while i < len(lines1) and i < len(lines2): - line1 = regex2.sub("", lines1[i]) - line2 = regex2.sub("", lines2[i]) + while i < len(lines1): + line1 = regex2.sub("", lines1[i]).strip() + line2 = regex2.sub("", lines2[i]).strip() if line1 != line2: print "failed!" break |