]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix typemap for ModelHighAPI_RefAttr exception message
authorspo <sergey.pokhodenko@opencascade.com>
Thu, 9 Jun 2016 14:02:37 +0000 (17:02 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Fri, 17 Jun 2016 11:41:05 +0000 (14:41 +0300)
src/ModelHighAPI/ModelHighAPI.i

index 44a3675a827df452dea08e17090485df98567362..153f64f8e6548fb2dcf511ca572077fd307b73b1 100644 (file)
@@ -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;
   }
 }