Skip to content
Prev Previous commit
Next Next commit
add curlies
  • Loading branch information
benjaminp committed Dec 9, 2017
commit 729838034fa4a27cfc313cf84dcf7a99b64778e5
3 changes: 2 additions & 1 deletion Python/import.c
Original file line number Diff line number Diff line change
Expand Up @@ -2264,8 +2264,9 @@ PyInit_imp(void)
if (d == NULL)
goto failure;
PyObject *pyc_mode = PyUnicode_FromString(_Py_CheckHashBasedPycsMode);
if (pyc_mode == NULL)
if (pyc_mode == NULL) {
goto failure;
}
if (PyDict_SetItemString(d, "check_hash_based_pycs", pyc_mode) < 0) {
Py_DECREF(pyc_mode);
goto failure;
Expand Down