Patch #1171150: add a newline to py_compile error output

This commit is contained in:
Georg Brandl 2005-06-10 17:15:18 +00:00
parent d6ebb5172e
commit e537d6e93e
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ def compile(file, cfile=None, dfile=None, doraise=False):
if doraise:
raise py_exc
else:
sys.stderr.write(py_exc.msg)
sys.stderr.write(py_exc.msg + '\n')
return
if cfile is None:
cfile = file + (__debug__ and 'c' or 'o')