mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
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> BUG: https://bugzilla.samba.org/show_bug.cgi?id=14817 (cherry picked from commit 1f413b2b2977687884781ca2399dadf6611ab461)
This commit is contained in:
parent
72606c0282
commit
8958105aa8
@ -1431,7 +1431,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,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user