protect this call, too

This commit is contained in:
Benjamin Peterson 2012-04-02 11:18:18 -04:00
parent f73813a8bb
commit f235989e0c

View file

@ -627,8 +627,8 @@ t_bootstrap(void *boot_raw)
PyFile_WriteObject(boot->func, file, 0); PyFile_WriteObject(boot->func, file, 0);
else else
PyObject_Print(boot->func, stderr, 0); PyObject_Print(boot->func, stderr, 0);
PyErr_Restore(exc, value, tb);
PySys_WriteStderr("\n"); PySys_WriteStderr("\n");
PyErr_Restore(exc, value, tb);
PyErr_PrintEx(0); PyErr_PrintEx(0);
} }
} }