summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-06 04:52:45 +0000
committerTim Potter <tpot@samba.org>2002-05-06 04:52:45 +0000
commit0a01e23e2be461fe3d4a8af7344c0a08ed091d96 (patch)
tree1cc9e84cb53524989952cbedebd3f3ce260f77da
parentfe816061c1543ae8435f6e80801d5c3d5366461e (diff)
downloadsamba-0a01e23e2be461fe3d4a8af7344c0a08ed091d96.tar.gz
samba-0a01e23e2be461fe3d4a8af7344c0a08ed091d96.tar.bz2
samba-0a01e23e2be461fe3d4a8af7344c0a08ed091d96.zip
Removed unused arg to deleteform.
(This used to be commit 5071fd8fe0ad219f813b490a78c01bb249a3cad6)
-rw-r--r--source3/python/py_spoolss_forms.c3
1 files changed, 1 insertions, 2 deletions
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 */