From 921424fa38c850ba9e4c246ee21dcc6ef391664f Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Mon, 25 Jul 2011 11:45:14 +1000 Subject: s4-param: Fix object names for python objects PyLoadparm and PyLoadparmContext Use the object names . to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell --- source4/param/pyparam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/param') 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, -- cgit