diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-10-17 15:57:07 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-10-17 15:57:07 +1100 |
commit | c35b0d9ab5d01e37cb06d02083a329e18ae59566 (patch) | |
tree | 20dd5885cf3da8d030ef69ab0d32bd2fb4207777 /source4/lib/ldb/ldb.i | |
parent | 4fb64f13d5101c960a7a234ff2b0b79283de5589 (diff) | |
parent | c783d8a32e4d958aec6d943d0fa3de2e7d3a68c2 (diff) | |
download | samba-c35b0d9ab5d01e37cb06d02083a329e18ae59566.tar.gz samba-c35b0d9ab5d01e37cb06d02083a329e18ae59566.tar.bz2 samba-c35b0d9ab5d01e37cb06d02083a329e18ae59566.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-devel
Diffstat (limited to 'source4/lib/ldb/ldb.i')
-rw-r--r-- | source4/lib/ldb/ldb.i | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/source4/lib/ldb/ldb.i b/source4/lib/ldb/ldb.i index 024ba1959a..6013462225 100644 --- a/source4/lib/ldb/ldb.i +++ b/source4/lib/ldb/ldb.i @@ -1219,25 +1219,6 @@ int py_module_del_transaction(struct ldb_module *mod) return LDB_SUCCESS; } -int py_module_sequence_number(struct ldb_module *mod, struct ldb_request *req) -{ - PyObject *py_ldb = mod->private_data; - PyObject *py_result; - int ret; - - py_result = PyObject_CallMethod(py_ldb, "sequence_number", "ili", req->op.seq_num.type, req->op.seq_num.seq_num, req->op.seq_num.flags); - - if (py_result == NULL) { - return LDB_ERR_OPERATIONS_ERROR; - } - - ret = PyInt_AsLong(py_result); - - Py_DECREF(py_result); - - return ret; -} - static int py_module_destructor(void *_mod) { struct ldb_module *mod = _mod; @@ -1292,7 +1273,6 @@ int py_module_init (struct ldb_module *mod) $1->start_transaction = py_module_start_transaction; $1->end_transaction = py_module_end_transaction; $1->del_transaction = py_module_del_transaction; - $1->sequence_number = py_module_sequence_number; } %feature("docstring") ldb_register_module "S.register_module(module) -> None\n" |