1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-24 13:57:43 +03:00

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>
This commit is contained in:
Amitay Isaacs 2011-07-25 11:45:14 +10:00 committed by Andrew Tridgell
parent 48d905f281
commit 921424fa38

View File

@ -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,