s4-dsdb: Remove unused variables in py_dsdb_get_partitions_dn
authorAndrew Bartlett <abartlet@samba.org>
Fri, 6 Jul 2012 09:58:51 +0000 (19:58 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 6 Jul 2012 12:55:50 +0000 (22:55 +1000)
source4/dsdb/pydsdb.c

index 4db9d361d11ee0327a284fe510b1f2611f344bad..f63d71e2d092886a2c322c6717882b79d449c29f 100644 (file)
@@ -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;