From: Jack Jansen Date: Thu, 20 Jun 2002 20:42:07 +0000 (+0000) Subject: Open the source file in universal newline mode. X-Git-Tag: v2.3c1~5257 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5d0990494e7397945385691d9a315b5fa7d64147;p=thirdparty%2FPython%2Fcpython.git Open the source file in universal newline mode. --- diff --git a/Mac/Lib/buildtools.py b/Mac/Lib/buildtools.py index d831610b96b5..efc5c47eddca 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: