summaryrefslogtreecommitdiffstats
path: root/Lib/py_compile.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-06-10 17:15:18 (GMT)
committerGeorg Brandl <georg@python.org>2005-06-10 17:15:18 (GMT)
commite537d6e93e0b5c37a96090df9ec831bd1bf8e2fb (patch)
treeb1dbc815a53d8d9c21ed6be8e14244eb153b4262 /Lib/py_compile.py
parentd6ebb5172ef0370bb3fb4d2891c608d6db434ccf (diff)
downloadcpython-e537d6e93e0b5c37a96090df9ec831bd1bf8e2fb.zip
cpython-e537d6e93e0b5c37a96090df9ec831bd1bf8e2fb.tar.gz
cpython-e537d6e93e0b5c37a96090df9ec831bd1bf8e2fb.tar.bz2
Patch #1171150: add a newline to py_compile error output
Diffstat (limited to 'Lib/py_compile.py')
-rw-r--r--Lib/py_compile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/py_compile.py b/Lib/py_compile.py
index 02b0136..1cb41f1 100644
--- a/Lib/py_compile.py
+++ b/Lib/py_compile.py
@@ -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')