summaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-02-09 19:30:39 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-02-25 08:38:25 +0100
commita63b368a025a61edf41a3d5ce34f325b03295cf6 (patch)
treebf3d21670409ec34b91e2f71dd363959ffd8ddd0 /src/python
parent887edd6b7c53fde44eb9f9060e09db5cd981ba37 (diff)
downloadsssd-a63b368a025a61edf41a3d5ce34f325b03295cf6.tar.gz
sssd-a63b368a025a61edf41a3d5ce34f325b03295cf6.tar.xz
sssd-a63b368a025a61edf41a3d5ce34f325b03295cf6.zip
UTIL: Remove python wrapper sss_python_set_check
The macro PySet_Check is defined in python >= 2.6 Reviewed-by: Stephen Gallagher <sgallagh@redhat.com>
Diffstat (limited to 'src/python')
-rw-r--r--src/python/pyhbac.c2
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;
}