pysmbd: reformat py_smbd_have_posix_acls() kwnames and PyArg_ParseTupleAndKeywords...
authorRalph Boehme <slow@samba.org>
Tue, 17 Dec 2019 13:16:52 +0000 (14:16 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 20 Dec 2019 11:41:41 +0000 (11:41 +0000)
No change in behaviour.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/pysmbd.c

index d3e8a21b35b6b222c2fa235e9f394359770e9f5c..1179b5db0edbb02c3e5477595c637d80c0f2114a 100644 (file)
@@ -627,8 +627,13 @@ static PyObject *py_smbd_have_posix_acls(PyObject *self,
 static PyObject *py_smbd_set_nt_acl(PyObject *self, PyObject *args, PyObject *kwargs)
 {
        const char * const kwnames[] = {
-               "fname", "security_info_sent", "sd",
-               "service", "session_info", NULL };
+               "fname",
+               "security_info_sent",
+               "sd",
+               "service",
+               "session_info",
+               NULL
+       };
 
        NTSTATUS status;
        char *fname, *service = NULL;
@@ -644,8 +649,11 @@ static PyObject *py_smbd_set_nt_acl(PyObject *self, PyObject *args, PyObject *kw
 
        if (!PyArg_ParseTupleAndKeywords(args, kwargs, "siO|zO",
                                         discard_const_p(char *, kwnames),
-                                        &fname, &security_info_sent, &py_sd,
-                                        &service, &py_session)) {
+                                        &fname,
+                                        &security_info_sent,
+                                        &py_sd,
+                                        &service,
+                                        &py_session)) {
                TALLOC_FREE(frame);
                return NULL;
        }