Salome HOME
[PY3] use python3 idioms, fix relative imports, fix plugins
[modules/smesh.git] / src / Tools / MacMesh / MacMesh / SharpAngle.py
index 1eed87f19bc88fe9b617a9a472d0fbfd1fcc77c0..25a76b3f73e832c118c922c6000761e4520284f7 100644 (file)
@@ -238,7 +238,7 @@ def SharpAngleIn (X0 , Y0 , DX , DY , DLocal, LocalMeshing , CornerOrientation ,
     return Obj
 
 def GroupArray(indices, GroupNames) :
-    if type(indices) is int :
+    if isinstance(indices, int) :
         indices = [indices]
         GroupNames = [GroupNames]
     Output = [None,None,None,None]