commit | 5d0990494e7397945385691d9a315b5fa7d64147 | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Thu Jun 20 20:42:07 2002 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Thu Jun 20 20:42:07 2002 +0000 |
tree | 2337b4879814385d6b8883296abd1410e8a39b06 | |
parent | f7ce04dcb49e482ba31d25b819d5e933bf03fc4d [diff] [blame] |
Open the source file in universal newline mode.
diff --git a/Mac/Lib/buildtools.py b/Mac/Lib/buildtools.py index d831610..efc5c47 100644 --- a/Mac/Lib/buildtools.py +++ b/Mac/Lib/buildtools.py
@@ -78,7 +78,7 @@ # Read the source and compile it # (there's no point overwriting the destination if it has a syntax error) - fp = open(filename) + fp = open(filename, 'rU') text = fp.read() fp.close() try: