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:
parent
48d905f281
commit
921424fa38
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user