0022172: [CEA 790] create the groups corresponding to domains

Fix treating a warning sent by algorithm.Compute() - print "Warning"
instead of "Error"
This commit is contained in:
eap 2013-05-24 12:00:21 +00:00
parent 401090842f
commit 2c17372e2f

View File

@ -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