mirror of
https://github.com/samba-team/samba.git
synced 2025-07-31 20:22:15 +03:00
Fixed dodgy arguments to PyArg_ParseTupleAndKeywords()
This commit is contained in:
@ -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)) {
|
||||
|
Reference in New Issue
Block a user