1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-07 20:23:50 +03:00

Moved PyDict_SetItemString for printer info level structures into conv functions.

This commit is contained in:
Tim Potter
-
parent a1934a7a8e
commit f7fadfdd73
2 changed files with 6 additions and 2 deletions

View File

@@ -170,8 +170,6 @@ PyObject *spoolss_getprinter(PyObject *self, PyObject *args, PyObject *kw)
break;
}
PyDict_SetItemString(result, "level", PyInt_FromLong(level));
Py_INCREF(result);
return result;
}