From: eap Date: Fri, 24 May 2013 12:00:21 +0000 (+0000) Subject: 0022172: [CEA 790] create the groups corresponding to domains X-Git-Tag: V7_3_0a1~407 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2c17372e2f8824778941dbc26bc468d11590329a;p=modules%2Fsmesh.git 0022172: [CEA 790] create the groups corresponding to domains Fix treating a warning sent by algorithm.Compute() - print "Warning" instead of "Error" --- diff --git a/src/SMESH_SWIG/smeshBuilder.py b/src/SMESH_SWIG/smeshBuilder.py index c58883f74..a7ddf4191 100644 --- a/src/SMESH_SWIG/smeshBuilder.py +++ b/src/SMESH_SWIG/smeshBuilder.py @@ -1354,7 +1354,10 @@ class Mesh: if errText: errText += ". " errText += err.comment if allReasons != "":allReasons += "\n" - allReasons += '- "%s" failed%s. Error: %s' %(err.algoName, shapeText, errText) + if ok: + allReasons += '- "%s"%s - %s' %(err.algoName, shapeText, errText) + else: + allReasons += '- "%s" failed%s. Error: %s' %(err.algoName, shapeText, errText) pass # Treat hyp errors