Fixed dodgy arguments to PyArg_ParseTupleAndKeywords()
authorTim Potter <tpot@samba.org>
Mon, 27 May 2002 06:28:18 +0000 (06:28 +0000)
committerTim Potter <tpot@samba.org>
Mon, 27 May 2002 06:28:18 +0000 (06:28 +0000)
(This used to be commit 45562b86039ec1b2f6d1cf3e9a5aa57cf87a796a)

source3/python/py_spoolss_forms.c

index c677a37fb76fcad4a38ddd7b2ace03aec1a9952a..c216e00afe4319df6d9387219ef73d903f24bb18 100644 (file)
@@ -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)) {