Patch #1171150: add a newline to py_compile error output
This commit is contained in:
parent
d6ebb5172e
commit
e537d6e93e
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue