diff options
Diffstat (limited to 'src/util/sss_python.h')
| -rw-r--r-- | src/util/sss_python.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/sss_python.h b/src/util/sss_python.h index 7e2bac336..b3fdaad64 100644 --- a/src/util/sss_python.h +++ b/src/util/sss_python.h @@ -31,8 +31,9 @@ sss_exception_with_doc(char *name, char *doc, PyObject *base, PyObject *dict); /* Convenience macros */ #define TYPE_READY(module, type, name) do { \ - if (PyType_Ready(&type) < 0) \ - MODINITERROR; \ + if (PyType_Ready(&type) < 0) { \ + MODINITERROR; \ + } \ Py_INCREF(&type); \ PyModule_AddObject(module, \ discard_const_p(char, name), \ |
