mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
source4/param/pyparam.c: fix strange indentation
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
4456f38612
commit
6bb577f254
@ -127,11 +127,11 @@ static PyObject *py_lp_ctx_get_helper(struct loadparm_context *lp_ctx, const cha
|
||||
const char **strlist = *(const char ***)parm_ptr;
|
||||
PyObject *pylist;
|
||||
|
||||
if(strlist == NULL) {
|
||||
return PyList_New(0);
|
||||
}
|
||||
if(strlist == NULL) {
|
||||
return PyList_New(0);
|
||||
}
|
||||
|
||||
pylist = PyList_New(str_list_length(strlist));
|
||||
pylist = PyList_New(str_list_length(strlist));
|
||||
for (j = 0; strlist[j]; j++)
|
||||
PyList_SetItem(pylist, j,
|
||||
PyString_FromString(strlist[j]));
|
||||
|
Reference in New Issue
Block a user