summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-19 12:47:52 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-19 12:47:52 +0200
commit186d2d83cbfea5c54bf787299f7bb0a90953af63 (patch)
tree7a68c0cee32fc430039961957d290dc827940f35 /source4
parentc7d069a4833548e249a74837d6fce02dd09f473c (diff)
downloadsamba-186d2d83cbfea5c54bf787299f7bb0a90953af63.tar.gz
samba-186d2d83cbfea5c54bf787299f7bb0a90953af63.tar.bz2
samba-186d2d83cbfea5c54bf787299f7bb0a90953af63.zip
Provide tdb.open and ldb.open python functions.
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/ldb.i1
-rw-r--r--source4/lib/ldb/ldb.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb.i b/source4/lib/ldb/ldb.i
index 4b61ddba5b..89676d4f01 100644
--- a/source4/lib/ldb/ldb.i
+++ b/source4/lib/ldb/ldb.i
@@ -928,4 +928,5 @@ ldb_int_error ldb_register_module(const struct ldb_module_ops *);
%pythoncode {
__docformat__ = "restructuredText"
+open = Ldb
}
diff --git a/source4/lib/ldb/ldb.py b/source4/lib/ldb/ldb.py
index 5826c6b752..9885765e2d 100644
--- a/source4/lib/ldb/ldb.py
+++ b/source4/lib/ldb/ldb.py
@@ -472,6 +472,7 @@ def register_module(*args, **kwargs):
"""
return _ldb.register_module(*args, **kwargs)
__docformat__ = "restructuredText"
+open = Ldb