From ae4c8e00df25b596a67e956d7b4407e7419cf7e1 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 23 Mar 2012 11:55:39 +0000 Subject: [PATCH] fix raising exception in algoCreator.__call__() --- src/SMESH_SWIG/smeshDC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.2