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
/
GenFunctions.py
diff --git
a/src/Tools/MacMesh/MacMesh/GenFunctions.py
b/src/Tools/MacMesh/MacMesh/GenFunctions.py
index 1c476ec81a26c166c52993847cb936535bc742b6..9f9136e6f9dd02e6dc4def21040f2f3588e7d480 100644
(file)
--- a/
src/Tools/MacMesh/MacMesh/GenFunctions.py
+++ b/
src/Tools/MacMesh/MacMesh/GenFunctions.py
@@
-825,8
+825,7
@@
def IndexMultiOcc (Array,Element) :
def SortList (ValList, CritList):
Output = []
- SortedCritList = copy.copy(CritList)
- SortedCritList.sort()
+ SortedCritList = sorted(copy.copy(CritList))
for i in range(0,len(ValList)):
if i > 0 :
if not(SortedCritList[i]==SortedCritList[i-1]):