git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4456f38
)
source4/param/pyparam.c: fix strange indentation
author
Douglas Bagnall
<douglas.bagnall@catalyst.net.nz>
Tue, 3 May 2016 02:39:08 +0000
(14:39 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 9 May 2016 23:43:14 +0000
(
01:43
+0200)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/param/pyparam.c
patch
|
blob
|
history
diff --git
a/source4/param/pyparam.c
b/source4/param/pyparam.c
index fde91e5886e67460fbbda24ab84c72f6e5e89acf..6a559999fb702248d487c17fc1b9df8d2392c157 100644
(file)
--- a/
source4/param/pyparam.c
+++ b/
source4/param/pyparam.c
@@
-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]));