projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0037202
)
add newline to source before compilation
author
Just van Rossum
<just@letterror.com>
Thu, 9 Jan 2003 10:47:20 +0000
(10:47 +0000)
committer
Just van Rossum
<just@letterror.com>
Thu, 9 Jan 2003 10:47:20 +0000
(10:47 +0000)
Lib/plat-mac/buildtools.py
patch
|
blob
|
history
diff --git
a/Lib/plat-mac/buildtools.py
b/Lib/plat-mac/buildtools.py
index 01b5392e6c3ef884448d12ec0d9228f52983bcc1..81a086b241445c631ae3ef7d8ab9a4b1a0edc86e 100644
(file)
--- 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: