Commit 4dc636c8 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1407] a minor style cleanup: adding braces for if-else

parent de9532ce
......@@ -254,10 +254,11 @@ RData_richcmp(PyObject* self_p, PyObject* other_p, int op) {
"Unhandled rich comparison operator");
return (NULL);
}
if (c)
if (c) {
Py_RETURN_TRUE;
else
} else {
Py_RETURN_FALSE;
}
} catch (const std::exception& ex) {
// FIXME: These exceptions are not tested, I don't know how or if
// at all they can be triggered. But they are caught just in the case.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment