From 6a12f7d66e7edeee020483cf3a7eecebb0ea4770 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Wed, 20 Jul 2011 14:48:34 +1000 Subject: s4auth: Fix the object names for PyCredentials and PyCredentialCacheContainer Use the object names as . to correctly generate the object hierarchy in pydoc. Signed-off-by: Andrew Tridgell --- source4/auth/credentials/pycredentials.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/auth') 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, }; -- cgit