Salome HOME
Workaround failure of test Tools/MacMesh/PressureValve.py
[modules/smesh.git] / src / Tools / MacMesh / MacMesh / MacObject.py
index c541fd949cd8de0524db6c38583968f057e23e13..becca33dc6128cb1d5acce99c35be2f18191788d 100644 (file)
@@ -185,6 +185,8 @@ class MacObject:
         self.DirectionalMeshParams =  MeshPar
         self.MeshPar[0] = GenFunctions.CompatibilityTest(self)
 
+        if isinstance( self.MeshPar[0], list ):
+            return # workaround, as CompatibilityTest() can return a list
         if self.MeshPar[0] < 0 :
             Alarms.Message(4)
             if self.MeshPar[0] == -1 : print(("Problem encountered with object(s) no. "+str(ObjectsInvolved)))