summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-07-31 10:14:09 +0200
committerStefan Metzmacher <metze@samba.org>2009-07-31 10:16:40 +0200
commit41b95da435758bb522a2d7748f52afa81d9499eb (patch)
tree97cc8dc149df57638aa8452dbc3bd9fbdab75c02 /pidl/lib/Parse
parentfc4e21bdae298095e7ab904fdec657f97743bfe7 (diff)
downloadsamba-41b95da435758bb522a2d7748f52afa81d9499eb.tar.gz
samba-41b95da435758bb522a2d7748f52afa81d9499eb.tar.bz2
samba-41b95da435758bb522a2d7748f52afa81d9499eb.zip
pidl:Samba4/Python: fix mapType() => mapTypeName()
This tries to fix commit 8eff9f9a3167eb0c2a4c00edf5a4cdbbc06c4dfd. The problem was: Undefined subroutine &Parse::Pidl::Samba4::Python::mapType called at /home/metze/master4/pidl/lib/Parse/Pidl/Samba4/Python.pm line 848. Jelmer: please check this. metze
Diffstat (limited to 'pidl/lib/Parse')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/Python.pm2
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 78a4ebdb5f..3baaa67655 100644
--- a/pidl/lib/Parse/Pidl/Samba4/Python.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/Python.pm
@@ -845,7 +845,7 @@ sub ConvertObjectFromPythonData($$$$$$;$)
my $ctype_name = $self->use_type_variable($ctype);
unless (defined ($ctype_name)) {
error($location, "Unable to determine origin of type `" . mapTypeName($ctype) . "'");
- $self->pidl("PyErr_SetString(PyExc_TypeError, \"Can not convert C Type " . mapType($ctype) . " to Python\");");
+ $self->pidl("PyErr_SetString(PyExc_TypeError, \"Can not convert C Type " . mapTypeName($ctype) . " to Python\");");
return;
}
$self->pidl("PY_CHECK_TYPE($ctype_name, $cvar, $fail);");