summaryrefslogtreecommitdiffstats
path: root/source/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
commitf7fadfdd73d3ba12dbfc7bf18319ce72f79a0dcc (patch)
treec7ab7546cfa9490564e75e5351962c7e51c5ebb5 /source/python/py_spoolss_printers.c
parenta1934a7a8eda592e283a01014280ddb373564927 (diff)
downloadsamba-f7fadfdd73d3ba12dbfc7bf18319ce72f79a0dcc.tar.gz
samba-f7fadfdd73d3ba12dbfc7bf18319ce72f79a0dcc.tar.xz
samba-f7fadfdd73d3ba12dbfc7bf18319ce72f79a0dcc.zip
Moved PyDict_SetItemString for printer info level structures into conv functions.
Diffstat (limited to 'source/python/py_spoolss_printers.c')
-rw-r--r--source/python/py_spoolss_printers.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/python/py_spoolss_printers.c b/source/python/py_spoolss_printers.c
index 17c8af902a8..d20b1445028 100644
--- a/source/python/py_spoolss_printers.c
+++ b/source/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;
}