Skip to content

Commit

Permalink
gh-115503: Fix run_presite error handling (#115504)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Feb 16, 2024
1 parent 321d13f commit 20eaf4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Python/pylifecycle.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,6 @@ run_presite(PyThreadState *tstate)
);
if (presite_modname == NULL) {
fprintf(stderr, "Could not convert pre-site module name to unicode\n");
Py_DECREF(presite_modname);
}
else {
PyObject *presite = PyImport_Import(presite_modname);
Expand Down

0 comments on commit 20eaf4d

Please sign in to comment.