Commit 2a9fd848 authored by simonmar's avatar simonmar
Browse files

[project @ 2004-09-01 08:58:23 by simonmar]

Fix GHCi tests on Windows.
parent e336948c
......@@ -654,6 +654,7 @@ def split_file(in_fn, delimiter, out1_fn, out2_fn):
out2 = open(out2_fn, 'w')
line = infile.readline()
line = re.sub('\r', '', line) # ignore Windows EOL
while (line != delimiter and line != ''):
out1.write(line)
line = infile.readline()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment