summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss_printers.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-14 07:09:54 +0000
committerTim Potter <tpot@samba.org>2002-05-14 07:09:54 +0000
commitceb338a35c80f1ddd8965b19bdbde5e870107fb7 (patch)
tree1a57b59532d2aedaaf5c41127e5b406dbe1426d8 /source3/python/py_spoolss_printers.c
parent3d95426f2c88b4bc3914d8bf894c990039db7ea5 (diff)
downloadsamba-ceb338a35c80f1ddd8965b19bdbde5e870107fb7.tar.gz
samba-ceb338a35c80f1ddd8965b19bdbde5e870107fb7.tar.bz2
samba-ceb338a35c80f1ddd8965b19bdbde5e870107fb7.zip
Moved PyDict_SetItemString for printer info level structures into conv functions.
(This used to be commit f7fadfdd73d3ba12dbfc7bf18319ce72f79a0dcc)
Diffstat (limited to 'source3/python/py_spoolss_printers.c')
-rw-r--r--source3/python/py_spoolss_printers.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/python/py_spoolss_printers.c b/source3/python/py_spoolss_printers.c
index 17c8af902a..d20b144502 100644
--- a/source3/python/py_spoolss_printers.c
+++ b/source3/python/py_spoolss_printers.c
@@ -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;
}