summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2011-07-25 11:45:14 +1000
committerAndrew Tridgell <tridge@samba.org>2011-07-28 15:20:52 +1000
commit921424fa38c850ba9e4c246ee21dcc6ef391664f (patch)
treef2e5c8d90bb74c8015bee1cfca4a02f8c45a6d94 /source4
parent48d905f281af80e0d0dd0269a72fecdf05aeb1be (diff)
downloadsamba-921424fa38c850ba9e4c246ee21dcc6ef391664f.tar.gz
samba-921424fa38c850ba9e4c246ee21dcc6ef391664f.tar.bz2
samba-921424fa38c850ba9e4c246ee21dcc6ef391664f.zip
s4-param: Fix object names for python objects PyLoadparm and PyLoadparmContext
Use the object names <modulename>.<objectname> to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/param/pyparam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c
index 470c535faf..b4901ca02e 100644
--- a/source4/param/pyparam.c
+++ b/source4/param/pyparam.c
@@ -381,7 +381,7 @@ static PyMappingMethods py_lp_ctx_mapping = {
};
PyTypeObject PyLoadparmContext = {
- .tp_name = "LoadParm",
+ .tp_name = "param.LoadParm",
.tp_basicsize = sizeof(py_talloc_Object),
.tp_getset = py_lp_ctx_getset,
.tp_methods = py_lp_ctx_methods,
@@ -428,7 +428,7 @@ static PyMethodDef py_lp_service_methods[] = {
};
PyTypeObject PyLoadparmService = {
- .tp_name = "LoadparmService",
+ .tp_name = "param.LoadparmService",
.tp_basicsize = sizeof(py_talloc_Object),
.tp_methods = py_lp_service_methods,
.tp_flags = Py_TPFLAGS_DEFAULT,