pidl/s4/python: call export "export" in py exceptions
[sfrench/samba-autobuild/.git] / pidl / lib / Parse / Pidl / Samba4 / Python.pm
index 26a1d9b4fc61507b6cccd1c77e62939a8b20e561..6a2d12c9c45a149b969418d69f4a1d12bea3af2c 100644 (file)
@@ -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,");