Changeset: 740ebaf0d89f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=740ebaf0d89f
Modified Files:
testing/Mfilter.py
Branch: default
Log Message:
When using universal newlines, we don't need to strip \r.
diffs (15 lines):
diff --git a/testing/Mfilter.py b/testing/Mfilter.py
--- a/testing/Mfilter.py
+++ b/testing/Mfilter.py
@@ -119,9 +119,9 @@ elemre = re.compile(r'<[-:a-zA-Z_0-9]+(?
def mFilter (FILE, IGNORE) :
fin = open(FILE, "rU")
- LINE = fin.readline().replace('\r','')
+ LINE = fin.readline()
while len(LINE) and ( len(LINE) < 15 or LINE[:15] not in ("stdout of
test ", "stderr of test ") ):
- LINE = fin.readline().replace('\r','')
+ LINE = fin.readline()
fin.close()
if len(LINE) >= 15 and LINE[:15] in ("stdout of test ", "stderr of test
"):
WHAT, TST, TSTDIR = re.search("^std(out|err) of test .(.*). in
directory .(.*). itself:", LINE, re.MULTILINE).groups()
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list