From: spo Date: Thu, 9 Jun 2016 14:02:37 +0000 (+0300) Subject: Fix typemap for ModelHighAPI_RefAttr exception message X-Git-Tag: V_2.4.0~91^2~67 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e3a9926786e6e4bd8d84bd2093fed1b059db5056;p=modules%2Fshaper.git Fix typemap for ModelHighAPI_RefAttr exception message --- diff --git a/src/ModelHighAPI/ModelHighAPI.i b/src/ModelHighAPI/ModelHighAPI.i index 44a3675a8..153f64f8e 100644 --- a/src/ModelHighAPI/ModelHighAPI.i +++ b/src/ModelHighAPI/ModelHighAPI.i @@ -87,7 +87,7 @@ } else if ((SWIG_ConvertPtr($input, (void **)&$1, $1_descriptor, SWIG_POINTER_EXCEPTION)) == 0) { } else { - PyErr_SetString(PyExc_ValueError, "argument must be ModelHighAPI_Double, float, int or string."); + PyErr_SetString(PyExc_ValueError, "argument must be ModelHighAPI_RefAttr, ModelAPI_Attribute, int or ModelAPI_Object."); return NULL; } }