From aee979faaa45ee9b1f9ab20af3832d97fb74dcf2 Mon Sep 17 00:00:00 2001 From: Deryck Hodge Date: Mon, 1 May 2006 22:31:33 +0000 Subject: r15385: Some work to bring the python code up to date with the rpc client rewrite. (This used to be commit fd5bcecceb518d0683f400a61e11ce37f3d52d42) --- source3/python/py_spoolss_printerdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/python/py_spoolss_printerdata.c') 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; } -- cgit