diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-04-28 03:23:50 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-04-28 03:23:50 (GMT) |
commit | 141534e56fccd9feb049c0c4115ab7e66688196c (patch) | |
tree | 807d95a7e49eadb6d09c71f341acae2c328f2535 /Python/traceback.c | |
parent | f30f6e82166bb9364a833e09de002ee438c74ad9 (diff) | |
download | cpython-141534e56fccd9feb049c0c4115ab7e66688196c.zip cpython-141534e56fccd9feb049c0c4115ab7e66688196c.tar.gz cpython-141534e56fccd9feb049c0c4115ab7e66688196c.tar.bz2 |
Fix a bug introduced by the warnings rewrite where tracebacks were being
improperly indented.
Closes issue #2699.
Diffstat (limited to 'Python/traceback.c')
-rw-r--r-- | Python/traceback.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/traceback.c b/Python/traceback.c index 7433997..a481963 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -222,8 +222,6 @@ tb_displayline(PyObject *f, const char *filename, int lineno, const char *name) err = PyFile_WriteString(linebuf, f); if (err != 0) return err; - - err = PyFile_WriteString(" ", f); return Py_DisplaySourceLine(f, filename, lineno); } |