From: Douglas Bagnall Date: Sun, 24 Feb 2019 09:49:10 +0000 (+1300) Subject: pidl/s4/python: call export "export" in py exceptions X-Git-Tag: talloc-2.2.0~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abf2e7c4a5d7b107d842e11c821dbdebf5df27bb;p=thirdparty%2Fsamba.git pidl/s4/python: call export "export" in py exceptions Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/pidl/lib/Parse/Pidl/Samba4/Python.pm b/pidl/lib/Parse/Pidl/Samba4/Python.pm index 26a1d9b4fc6..6a2d12c9c45 100644 --- a/pidl/lib/Parse/Pidl/Samba4/Python.pm +++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm @@ -1235,7 +1235,7 @@ sub PythonType($$$$) $self->pidl("PyObject *in = NULL;"); $self->pidl("$typename *out = NULL;"); $self->pidl(""); - $self->pidl("if (!PyArg_ParseTupleAndKeywords(args, kwargs, \"OiO:import\","); + $self->pidl("if (!PyArg_ParseTupleAndKeywords(args, kwargs, \"OiO:export\","); $self->indent; $self->pidl("discard_const_p(char *, kwnames),"); $self->pidl("&mem_ctx_obj,");