diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2019-07-04 16:29:56 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2019-07-10 04:32:13 +0000 |
commit | 192386ede62c4a72c0fbc173240f02357455c609 (patch) | |
tree | f86da53b3877f9e45484995fb0e547752667022f /lib | |
parent | 3af57daa8404476773cef3be544a82ac419f961d (diff) | |
download | samba-192386ede62c4a72c0fbc173240f02357455c609.tar.gz |
pyldb: remove ldb.open, which was never survivable
There was no way to call ldb.open without evoking signal 11, so it is
unlikely anyone was using it.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ldb/pyldb.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/ldb/pyldb.c b/lib/ldb/pyldb.c index 77d34d63987..13d7c962d1e 100644 --- a/lib/ldb/pyldb.c +++ b/lib/ldb/pyldb.c @@ -4267,10 +4267,6 @@ static PyMethodDef py_ldb_global_methods[] = { { "valid_attr_name", py_valid_attr_name, METH_VARARGS, "S.valid_attr_name(name) -> bool\n\nn" "Check whether the supplied name is a valid attribute name." }, - { "open", PY_DISCARD_FUNC_SIG(PyCFunction,py_ldb_new), - METH_VARARGS|METH_KEYWORDS, - "S.open() -> Ldb\n\n" - "Open a new LDB context." }, { "binary_encode", py_binary_encode, METH_VARARGS, "S.binary_encode(string) -> string\n\n" "Perform a RFC2254 binary encoding on a string" }, |