summaryrefslogtreecommitdiffstats
path: root/src/util/sss_python.c
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/util/sss_python.c
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/util/sss_python.c')
-rw-r--r--src/util/sss_python.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/util/sss_python.c b/src/util/sss_python.c
index 56850782a..ba78bf968 100644
--- a/src/util/sss_python.c
+++ b/src/util/sss_python.c
@@ -21,16 +21,6 @@
#include "src/util/sss_python.h"
#include "config.h"
-bool
-sss_python_set_check(PyObject *set)
-{
-#if HAVE_DECL_PYSET_CHECK
- return PySet_Check(set);
-#else
- return PyObject_TypeCheck(set, &PySet_Type);
-#endif
-}
-
PyObject *
sss_python_unicode_from_string(const char *u)
{