[Python-checkins] python/dist/src/Lib/plat-mac buildtools.py,1.1,1.2
jvr@users.sourceforge.net
jvr@users.sourceforge.net
Thu, 09 Jan 2003 02:47:22 -0800
Update of /cvsroot/python/python/dist/src/Lib/plat-mac
In directory sc8-pr-cvs1:/tmp/cvs-serv31289
Modified Files:
buildtools.py
Log Message:
add newline to source before compilation
Index: buildtools.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/plat-mac/buildtools.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** buildtools.py 30 Dec 2002 22:04:20 -0000 1.1
--- buildtools.py 9 Jan 2003 10:47:20 -0000 1.2
***************
*** 86,90 ****
fp.close()
try:
! code = compile(text, filename, "exec")
except SyntaxError, arg:
raise BuildError, "Syntax error in script %s: %s" % (filename, arg)
--- 86,90 ----
fp.close()
try:
! code = compile(text + '\n', filename, "exec")
except SyntaxError, arg:
raise BuildError, "Syntax error in script %s: %s" % (filename, arg)