From 5d0990494e7397945385691d9a315b5fa7d64147 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 20 Jun 2002 20:42:07 +0000 Subject: Open the source file in universal newline mode. --- Mac/Lib/buildtools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v0.12