diff Modules/threadmodule.c @ 76067:d552016fc07c 2.7

protect this call, too
author Benjamin Peterson <benjamin@python.org>
date Mon, 02 Apr 2012 11:18:18 -0400
parents 8609d7fcdcc7
children 20f0c5398e97
line wrap: on
line diff
--- a/Modules/threadmodule.c	Mon Apr 02 11:15:17 2012 -0400
+++ b/Modules/threadmodule.c	Mon Apr 02 11:18:18 2012 -0400
@@ -627,8 +627,8 @@
                 PyFile_WriteObject(boot->func, file, 0);
             else
                 PyObject_Print(boot->func, stderr, 0);
+            PySys_WriteStderr("\n");
             PyErr_Restore(exc, value, tb);
-            PySys_WriteStderr("\n");
             PyErr_PrintEx(0);
         }
     }