diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-06-20 20:42:07 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-06-20 20:42:07 (GMT) |
commit | 5d0990494e7397945385691d9a315b5fa7d64147 (patch) | |
tree | 2337b4879814385d6b8883296abd1410e8a39b06 /Mac/Lib | |
parent | f7ce04dcb49e482ba31d25b819d5e933bf03fc4d (diff) | |
download | cpython-5d0990494e7397945385691d9a315b5fa7d64147.zip cpython-5d0990494e7397945385691d9a315b5fa7d64147.tar.gz cpython-5d0990494e7397945385691d9a315b5fa7d64147.tar.bz2 |
Open the source file in universal newline mode.
Diffstat (limited to 'Mac/Lib')
-rw-r--r-- | Mac/Lib/buildtools.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ def process(template, filename, destname, copy_codefragment, # 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: |