Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PY3] use python3 idioms, fix relative imports, fix plugins
[modules/smesh.git]
/
src
/
Tools
/
MacMesh
/
MacMesh
/
SharpAngle.py
diff --git
a/src/Tools/MacMesh/MacMesh/SharpAngle.py
b/src/Tools/MacMesh/MacMesh/SharpAngle.py
index 1eed87f19bc88fe9b617a9a472d0fbfd1fcc77c0..25a76b3f73e832c118c922c6000761e4520284f7 100644
(file)
--- a/
src/Tools/MacMesh/MacMesh/SharpAngle.py
+++ b/
src/Tools/MacMesh/MacMesh/SharpAngle.py
@@
-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]