comment
[xmlmerge.git] / convert_newlines.py
blobf1510942771fdfcf2aeb006b46025326131277f6
1 #!/usr/bin/env python
3 import os
5 test_dir = "tests"
6 for fn in sorted(os.listdir(test_dir)):
7 full_fn = os.path.join(test_dir, fn)
8 s = file(full_fn, "rb").read()
9 file(full_fn, "wb").write(s.replace("\r\n", "\n"))