summaryrefslogtreecommitdiffstats
path: root/src/util/sss_python.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-02-09 19:19:55 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-02-25 08:38:20 +0100
commit9eabaad5e0f3f20a6bcec0629342584c244a79bc (patch)
tree64452cb16adc499902cabd2ceb7b3ae3d885096d /src/util/sss_python.c
parentd6c3de740c7bed8b007805d6a313220d8d974ee5 (diff)
downloadsssd-9eabaad5e0f3f20a6bcec0629342584c244a79bc.tar.gz
sssd-9eabaad5e0f3f20a6bcec0629342584c244a79bc.tar.xz
sssd-9eabaad5e0f3f20a6bcec0629342584c244a79bc.zip
UTIL: Remove python wrapper sss_python_set_new
The function PySet_New is available 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 19717a55c..dad2a46d8 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"
-PyObject *
-sss_python_set_new(void)
-{
-#ifdef HAVE_PYSET_NEW
- return PySet_New(NULL);
-#else
- return PyObject_CallObject((PyObject *) &PySet_Type, NULL);
-#endif
-}
-
int
sss_python_set_add(PyObject *set, PyObject *key)
{