diff Python/traceback.c @ 46589:07a4e1710262 legacy-trunk

Fix a bug introduced by the warnings rewrite where tracebacks were being improperly indented. Closes issue #2699.
author Brett Cannon <bcannon@gmail.com>
date Mon, 28 Apr 2008 03:23:50 +0000
parents 840064802952
children 4fe192d48960
line wrap: on
line diff
--- a/Python/traceback.c	Mon Apr 28 02:59:45 2008 +0000
+++ b/Python/traceback.c	Mon Apr 28 03:23:50 2008 +0000
@@ -222,8 +222,6 @@
 	err = PyFile_WriteString(linebuf, f);
 	if (err != 0)
 		return err;
-
-        err = PyFile_WriteString("    ", f);
         return Py_DisplaySourceLine(f, filename, lineno);
 }