mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
parent
fe816061c1
commit
0a01e23e2b
@ -162,14 +162,13 @@ PyObject *spoolss_deleteform(PyObject *self, PyObject *args, PyObject *kw)
|
||||
{
|
||||
spoolss_policy_hnd_object *hnd = (spoolss_policy_hnd_object *)self;
|
||||
WERROR werror;
|
||||
int level = 1;
|
||||
static char *kwlist[] = {"form_name", "level", NULL};
|
||||
char *form_name;
|
||||
|
||||
/* Parse parameters */
|
||||
|
||||
if (!PyArg_ParseTupleAndKeywords(
|
||||
args, kw, "s|i", kwlist, &form_name, &level))
|
||||
args, kw, "s", kwlist, &form_name))
|
||||
return NULL;
|
||||
|
||||
/* Call rpc function */
|
||||
|
Loading…
Reference in New Issue
Block a user