Changeset: fe6b51552937 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=fe6b51552937
Modified Files:
testing/Mfilter.py.in
Branch: Aug2011
Log Message:
If you first mangle (normalize) line endings, then don't use os.linesep.
diffs (13 lines):
diff --git a/testing/Mfilter.py.in b/testing/Mfilter.py.in
--- a/testing/Mfilter.py.in
+++ b/testing/Mfilter.py.in
@@ -176,8 +176,7 @@ def mFilter (FILE, IGNORE) :
al = al + 1
aw = aw + w
ac = ac + c
- if ln != os.linesep and \
- not re.match(IGNORE,ln, re.MULTILINE):
+ if ln != '\n' and not re.match(IGNORE,ln, re.MULTILINE):
el = el + 1
ew = ew + w
ec = ec + c
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list