summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss_printerdata.c
diff options
context:
space:
mode:
authorDeryck Hodge <deryck@samba.org>2006-05-01 22:31:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:38 -0500
commitaee979faaa45ee9b1f9ab20af3832d97fb74dcf2 (patch)
treea2de3e1538171ff1d678e1e264b70ea2ad8af6fd /source3/python/py_spoolss_printerdata.c
parent2bdbd3fa6dd351f393f4972578e382da73ebcc18 (diff)
downloadsamba-aee979faaa45ee9b1f9ab20af3832d97fb74dcf2.tar.gz
samba-aee979faaa45ee9b1f9ab20af3832d97fb74dcf2.tar.bz2
samba-aee979faaa45ee9b1f9ab20af3832d97fb74dcf2.zip
r15385: Some work to bring the python code up to date with the
rpc client rewrite. (This used to be commit fd5bcecceb518d0683f400a61e11ce37f3d52d42)
Diffstat (limited to 'source3/python/py_spoolss_printerdata.c')
-rw-r--r--source3/python/py_spoolss_printerdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_spoolss_printerdata.c b/source3/python/py_spoolss_printerdata.c
index e89f985fef..ed9e1cbd82 100644
--- a/source3/python/py_spoolss_printerdata.c
+++ b/source3/python/py_spoolss_printerdata.c
@@ -321,7 +321,7 @@ PyObject *spoolss_hnd_enumprinterdataex(PyObject *self, PyObject *args, PyObject
return NULL;
if (!(ctr = TALLOC_ZERO_P(hnd->mem_ctx, REGVAL_CTR))) {
- PyErr_SetObject(spoolss_werror, py_werror_tuple(werror));
+ PyErr_SetString(spoolss_error, "talloc failed");
return NULL;
}