summaryrefslogtreecommitdiff
path: root/source4/scripting/python/pyglue.c
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2009-11-09 20:53:34 +0300
committerAndrew Bartlett <abartlet@samba.org>2010-01-21 07:11:13 +1300
commitc80ecd9964285f3c4a5128389c4e330ab25cca1c (patch)
treee79aa9774fda428db600009aca8b047da315ad13 /source4/scripting/python/pyglue.c
parent45465cb7da75645f656e9c5dda136d782477ee68 (diff)
downloadsamba-c80ecd9964285f3c4a5128389c4e330ab25cca1c.tar.gz
samba-c80ecd9964285f3c4a5128389c4e330ab25cca1c.tar.bz2
samba-c80ecd9964285f3c4a5128389c4e330ab25cca1c.zip
s4: add python bindings for wrap_(s|g)etxattr
Diffstat (limited to 'source4/scripting/python/pyglue.c')
-rw-r--r--source4/scripting/python/pyglue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/pyglue.c b/source4/scripting/python/pyglue.c
index 3d33e605db..6ef7033128 100644
--- a/source4/scripting/python/pyglue.c
+++ b/source4/scripting/python/pyglue.c
@@ -54,8 +54,8 @@ static void PyErr_SetLdbError(PyObject *error, int ret, struct ldb_context *ldb_
return; /* Python exception should already be set, just keep that */
PyErr_SetObject(error,
- Py_BuildValue(discard_const_p(char, "(i,s)"), ret,
- ldb_ctx == NULL?ldb_strerror(ret):ldb_errstring(ldb_ctx)));
+ Py_BuildValue(discard_const_p(char, "(i,s)"), ret,
+ ldb_ctx == NULL?ldb_strerror(ret):ldb_errstring(ldb_ctx)));
}
static PyObject *py_ldb_get_exception(void)