diff options
author | Amitay Isaacs <amitay@gmail.com> | 2011-07-20 14:48:34 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-07-28 15:20:52 +1000 |
commit | 6a12f7d66e7edeee020483cf3a7eecebb0ea4770 (patch) | |
tree | 2d3d41761700c3dde6397f3585d92fdda8b71580 /source4 | |
parent | b9e05879600c185dff640c78c240e3cd0ab27e43 (diff) | |
download | samba-6a12f7d66e7edeee020483cf3a7eecebb0ea4770.tar.gz samba-6a12f7d66e7edeee020483cf3a7eecebb0ea4770.tar.bz2 samba-6a12f7d66e7edeee020483cf3a7eecebb0ea4770.zip |
s4auth: Fix the object names for PyCredentials and PyCredentialCacheContainer
Use the object names as <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/auth/credentials/pycredentials.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/credentials/pycredentials.c b/source4/auth/credentials/pycredentials.c index 909d89786f..5083174ba1 100644 --- a/source4/auth/credentials/pycredentials.c +++ b/source4/auth/credentials/pycredentials.c @@ -420,7 +420,7 @@ static PyMethodDef py_creds_methods[] = { }; PyTypeObject PyCredentials = { - .tp_name = "Credentials", + .tp_name = "credentials.Credentials", .tp_basicsize = sizeof(py_talloc_Object), .tp_new = py_creds_new, .tp_flags = Py_TPFLAGS_DEFAULT, @@ -429,7 +429,7 @@ PyTypeObject PyCredentials = { PyTypeObject PyCredentialCacheContainer = { - .tp_name = "CredentialCacheContainer", + .tp_name = "credentials.CredentialCacheContainer", .tp_basicsize = sizeof(py_talloc_Object), .tp_flags = Py_TPFLAGS_DEFAULT, }; |