From: eap Date: Fri, 23 Mar 2012 11:55:39 +0000 (+0000) Subject: fix raising exception in algoCreator.__call__() X-Git-Tag: V6_5_0a1~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ae4c8e00df25b596a67e956d7b4407e7419cf7e1;p=modules%2Fsmesh.git fix raising exception in algoCreator.__call__() --- diff --git a/src/SMESH_SWIG/smeshDC.py b/src/SMESH_SWIG/smeshDC.py index e70aa8872..bd67a223b 100644 --- a/src/SMESH_SWIG/smeshDC.py +++ b/src/SMESH_SWIG/smeshDC.py @@ -4336,7 +4336,7 @@ class algoCreator: if self.algoTypeToClass.has_key( algoType ): #print "Create algo",algoType return self.algoTypeToClass[ algoType ]( self.mesh, geom ) - raise RuntimeError, "No class found for algo type" % algoType + raise RuntimeError, "No class found for algo type %s" % algoType return None # Private class used to substitute and store variable parameters of hypotheses.