summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/pyldb.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-05 00:36:21 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-05 00:38:35 +0200
commit5548d3d41e3db378802e614656d3f708a3edd214 (patch)
tree0cdbf921f456f3f80c13a127246fb168ceac8e18 /source4/lib/ldb/pyldb.c
parent6ea99a237d982827accd1e9befe133141083d9cb (diff)
downloadsamba-5548d3d41e3db378802e614656d3f708a3edd214.tar.gz
samba-5548d3d41e3db378802e614656d3f708a3edd214.tar.bz2
samba-5548d3d41e3db378802e614656d3f708a3edd214.zip
Add missing dependencies for com_err.
Diffstat (limited to 'source4/lib/ldb/pyldb.c')
-rw-r--r--source4/lib/ldb/pyldb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/pyldb.c b/source4/lib/ldb/pyldb.c
index 25f4661dce..fe7e8a1f3d 100644
--- a/source4/lib/ldb/pyldb.c
+++ b/source4/lib/ldb/pyldb.c
@@ -2744,4 +2744,6 @@ void initldb(void)
PyModule_AddObject(m, "MessageElement", (PyObject *)&PyLdbMessageElement);
PyModule_AddObject(m, "Module", (PyObject *)&PyLdbModule);
PyModule_AddObject(m, "Tree", (PyObject *)&PyLdbTree);
+
+ PyModule_AddObject(m, "__version__", PyString_FromString(PACKAGE_VERSION));
}