Fix a bug introduced by the warnings rewrite where tracebacks were being

improperly indented.

Closes issue #2699.
This commit is contained in:
Brett Cannon 2008-04-28 03:23:50 +00:00
parent f30f6e8216
commit 141534e56f
3 changed files with 47 additions and 4 deletions

View file

@ -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);
}