summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-27 06:28:18 +0000
committerTim Potter <tpot@samba.org>2002-05-27 06:28:18 +0000
commitb403e16e09db52b31bdf09a97fe81b82835da129 (patch)
tree0d9c8906c21c773bf32488a20edb6c99789dc5ef
parent82e4fb6fbbd2b2357a0ed0f1ecfe12532eb84897 (diff)
downloadsamba-b403e16e09db52b31bdf09a97fe81b82835da129.tar.gz
samba-b403e16e09db52b31bdf09a97fe81b82835da129.tar.bz2
samba-b403e16e09db52b31bdf09a97fe81b82835da129.zip
Fixed dodgy arguments to PyArg_ParseTupleAndKeywords()
(This used to be commit 45562b86039ec1b2f6d1cf3e9a5aa57cf87a796a)
-rw-r--r--source3/python/py_spoolss_forms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_spoolss_forms.c b/source3/python/py_spoolss_forms.c
index c677a37fb7..c216e00afe 100644
--- a/source3/python/py_spoolss_forms.c
+++ b/source3/python/py_spoolss_forms.c
@@ -140,7 +140,7 @@ PyObject *spoolss_hnd_setform(PyObject *self, PyObject *args, PyObject *kw)
/* Parse parameters */
if (!PyArg_ParseTupleAndKeywords(
- args, kw, "O!|i", kwlist, &PyDict_Type, &info))
+ args, kw, "O!", kwlist, &PyDict_Type, &info))
return NULL;
if (!get_level_value(info, &level)) {