git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
253af8b
)
auth/credentials: use 'et' as format for ParseTuple with python2
author
Noel Power
<noel.power@suse.com>
Tue, 11 Dec 2018 15:32:11 +0000
(15:32 +0000)
committer
Douglas Bagnall
<dbagnall@samba.org>
Sat, 12 Jan 2019 23:40:26 +0000
(
00:40
+0100)
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
auth/credentials/pycredentials.c
patch
|
blob
|
history
diff --git
a/auth/credentials/pycredentials.c
b/auth/credentials/pycredentials.c
index fa8ac2bcb9f7604ce691072a5e857efce3930287..7f9bc38af8e178a2fa0ec57814ebb05a485fbe46 100644
(file)
--- a/
auth/credentials/pycredentials.c
+++ b/
auth/credentials/pycredentials.c
@@
-175,7
+175,7
@@
static PyObject *py_creds_set_password(PyObject *self, PyObject *args)
enum credentials_obtained obt = CRED_SPECIFIED;
int _obt = obt;
PyObject *result = NULL;
- if (!PyArg_ParseTuple(args,
"es
|i", "utf8", &newval, &_obt)) {
+ if (!PyArg_ParseTuple(args,
PYARG_STR_UNI"
|i", "utf8", &newval, &_obt)) {
return NULL;
}
obt = _obt;