diff --git a/Mac/Lib/buildtools.py b/Mac/Lib/buildtools.py index d831610b96b..efc5c47eddc 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: