From 0a01e23e2be461fe3d4a8af7344c0a08ed091d96 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 6 May 2002 04:52:45 +0000 Subject: Removed unused arg to deleteform. (This used to be commit 5071fd8fe0ad219f813b490a78c01bb249a3cad6) --- source3/python/py_spoolss_forms.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/python') diff --git a/source3/python/py_spoolss_forms.c b/source3/python/py_spoolss_forms.c index 9f8a49bd52..fbe3240c15 100644 --- a/source3/python/py_spoolss_forms.c +++ b/source3/python/py_spoolss_forms.c @@ -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 */ -- cgit