diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/plat-mac/buildtools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/buildtools.py b/Lib/plat-mac/buildtools.py index 01b5392..81a086b 100644 --- a/Lib/plat-mac/buildtools.py +++ b/Lib/plat-mac/buildtools.py @@ -85,7 +85,7 @@ def process(template, filename, destname, copy_codefragment, text = fp.read() fp.close() try: - code = compile(text, filename, "exec") + code = compile(text + '\n', filename, "exec") except SyntaxError, arg: raise BuildError, "Syntax error in script %s: %s" % (filename, arg) except EOFError: |