From 41a2152b030fc4b6aab8bbe363f61db160f1b46c Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 10 Jul 2014 15:54:01 +0200 Subject: [PATCH] Fix tp_name of objects in Python wrapper. --- tools/python/apixml2python/linphone_module.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/apixml2python/linphone_module.mustache b/tools/python/apixml2python/linphone_module.mustache index 37547302c..ca64847a9 100644 --- a/tools/python/apixml2python/linphone_module.mustache +++ b/tools/python/apixml2python/linphone_module.mustache @@ -147,7 +147,7 @@ static PyGetSetDef pylinphone_{{class_name}}_getseters[] = { static PyTypeObject pylinphone_{{class_name}}Type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ - "linphone.{{name}}", /* tp_name */ + "linphone.{{class_name}}", /* tp_name */ sizeof(pylinphone_{{class_name}}Object), /* tp_basicsize */ 0, /* tp_itemsize */ pylinphone_{{class_name}}_dealloc, /* tp_dealloc */