summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0592c0f)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
{
PyObject *py_bt2_py_plugin_mod = NULL;
const char *dis_python_env;
{
PyObject *py_bt2_py_plugin_mod = NULL;
const char *dis_python_env;
sighandler_t old_sigint = signal(SIGINT, SIG_DFL);
sighandler_t old_sigint = signal(SIGINT, SIG_DFL);
if (python_state != PYTHON_STATE_NOT_INITED) {
goto end;
if (python_state != PYTHON_STATE_NOT_INITED) {
goto end;
python_state = PYTHON_STATE_FULLY_INITIALIZED;
end:
python_state = PYTHON_STATE_FULLY_INITIALIZED;
end:
if (old_sigint != SIG_ERR) {
(void) signal(SIGINT, old_sigint);
}
if (old_sigint != SIG_ERR) {
(void) signal(SIGINT, old_sigint);
}
print_python_traceback_warn();
pyerr_clear();
print_python_traceback_warn();
pyerr_clear();