diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2019-02-24 22:49:10 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-03-12 00:42:18 +0000 |
commit | abf2e7c4a5d7b107d842e11c821dbdebf5df27bb (patch) | |
tree | aa7113de73dd38e1cd0866f34830b9fcbae3a40a | |
parent | 7caf2cbdf11029c7ed9d78338c797fb8c4fa46b3 (diff) | |
download | samba-abf2e7c4a5d7b107d842e11c821dbdebf5df27bb.tar.gz |
pidl/s4/python: call export "export" in py exceptions
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | pidl/lib/Parse/Pidl/Samba4/Python.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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,"); |