diff options
author | Stefan Metzmacher <metze@samba.org> | 2020-04-09 21:04:44 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2021-07-01 17:46:31 +0000 |
commit | 1f413b2b2977687884781ca2399dadf6611ab461 (patch) | |
tree | f3e53b6f3f3938e3492110e585c90b5e375f6e5b /auth | |
parent | 0e3ddc27ed6d603a21cb2b187f3295506d560604 (diff) | |
download | samba-1f413b2b2977687884781ca2399dadf6611ab461.tar.gz |
auth/credentials: allow credentials.Credentials to act as base class
In tests it's useful to add more details.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'auth')
-rw-r--r-- | auth/credentials/pycredentials.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/credentials/pycredentials.c b/auth/credentials/pycredentials.c index 798cdb41a00..08b78e9dfce 100644 --- a/auth/credentials/pycredentials.c +++ b/auth/credentials/pycredentials.c @@ -1437,7 +1437,7 @@ static struct PyModuleDef moduledef = { PyTypeObject PyCredentials = { .tp_name = "credentials.Credentials", .tp_new = py_creds_new, - .tp_flags = Py_TPFLAGS_DEFAULT, + .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, .tp_methods = py_creds_methods, }; |