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/util/sss_python.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/util/sss_python.c') 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) { -- cgit