diff options
Diffstat (limited to 'src/python/pyhbac.c')
-rw-r--r-- | src/python/pyhbac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/pyhbac.c b/src/python/pyhbac.c index 71e3ea68f..05845be86 100644 --- a/src/python/pyhbac.c +++ b/src/python/pyhbac.c @@ -452,7 +452,7 @@ hbac_rule_element_set_category(HbacRuleElement *self, CHECK_ATTRIBUTE_DELETE(category, "category"); - if (!sss_python_set_check(category)) { + if (!PySet_Check(category)) { PyErr_Format(PyExc_TypeError, "The category must be a set type\n"); return -1; } |