summaryrefslogtreecommitdiffstats
path: root/src/util/sss_python.c
diff options
context:
space:
mode:
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 ba78bf968..560effc26 100644
--- a/src/util/sss_python.c
+++ b/src/util/sss_python.c
@@ -22,16 +22,6 @@
#include "config.h"
PyObject *
-sss_python_unicode_from_string(const char *u)
-{
-#ifdef HAVE_PYUNICODE_FROMSTRING
- return PyUnicode_FromString(u);
-#else
- return PyUnicode_DecodeUTF8(u, strlen(u), NULL);
-#endif
-}
-
-PyObject *
sss_exception_with_doc(char *name, char *doc, PyObject *base, PyObject *dict)
{
#ifdef HAVE_PYERR_NEWEXCEPTIONWITHDOC