diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-19 12:47:52 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-19 12:47:52 +0200 |
commit | 186d2d83cbfea5c54bf787299f7bb0a90953af63 (patch) | |
tree | 7a68c0cee32fc430039961957d290dc827940f35 /source4/lib | |
parent | c7d069a4833548e249a74837d6fce02dd09f473c (diff) | |
download | samba-186d2d83cbfea5c54bf787299f7bb0a90953af63.tar.gz samba-186d2d83cbfea5c54bf787299f7bb0a90953af63.tar.bz2 samba-186d2d83cbfea5c54bf787299f7bb0a90953af63.zip |
Provide tdb.open and ldb.open python functions.
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/ldb.i | 1 | ||||
-rw-r--r-- | source4/lib/ldb/ldb.py | 1 |
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 |