git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48d905f
)
s4-param: Fix object names for python objects PyLoadparm and PyLoadparmContext
author
Amitay Isaacs
<amitay@gmail.com>
Mon, 25 Jul 2011 01:45:14 +0000
(11:45 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 28 Jul 2011 05:20:52 +0000
(15:20 +1000)
Use the object names <modulename>.<objectname> to correctly generate
the object hierarchy in pydoc.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
source4/param/pyparam.c
patch
|
blob
|
history
diff --git
a/source4/param/pyparam.c
b/source4/param/pyparam.c
index 470c535fafc0caca1dd1a014a1176c4651ed8ccb..b4901ca02ee35a84fe326413268800948c940d24 100644
(file)
--- 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,