summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-07-06 19:58:51 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-07-06 22:55:50 +1000
commit7782e334b9ce6c0517136ae25be4e4f0629e0059 (patch)
tree994f0de5eeea64bfacd4b525192adc3dd867e571
parent023508ed17155309013ec684fa49d2d76d030dd0 (diff)
downloadsamba-7782e334b9ce6c0517136ae25be4e4f0629e0059.tar.gz
samba-7782e334b9ce6c0517136ae25be4e4f0629e0059.tar.bz2
samba-7782e334b9ce6c0517136ae25be4e4f0629e0059.zip
s4-dsdb: Remove unused variables in py_dsdb_get_partitions_dn
-rw-r--r--source4/dsdb/pydsdb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/dsdb/pydsdb.c b/source4/dsdb/pydsdb.c
index 4db9d361d1..f63d71e2d0 100644
--- a/source4/dsdb/pydsdb.c
+++ b/source4/dsdb/pydsdb.c
@@ -922,9 +922,6 @@ static PyObject *py_dsdb_get_partitions_dn(PyObject *self, PyObject *args)
struct ldb_context *ldb;
struct ldb_dn *dn;
PyObject *py_ldb, *ret;
- PyObject *mod;
-
- mod = PyImport_ImportModule("ldb");
if (!PyArg_ParseTuple(args, "O", &py_ldb))
return NULL;