From a63b368a025a61edf41a3d5ce34f325b03295cf6 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 9 Feb 2015 19:30:39 +0100 Subject: UTIL: Remove python wrapper sss_python_set_check The macro PySet_Check is defined in python >= 2.6 Reviewed-by: Stephen Gallagher --- src/python/pyhbac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/python') 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; } -- cgit