X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2FMacMesh%2FMacMesh%2FGenFunctions.py;fp=src%2FTools%2FMacMesh%2FMacMesh%2FGenFunctions.py;h=9f9136e6f9dd02e6dc4def21040f2f3588e7d480;hp=1c476ec81a26c166c52993847cb936535bc742b6;hb=5637345b9ae64ee1fcfb56f6a0dec6abe9ca7046;hpb=2620c8a9db1ba4d0ba49b9bec2b75db0dbb859d8 diff --git a/src/Tools/MacMesh/MacMesh/GenFunctions.py b/src/Tools/MacMesh/MacMesh/GenFunctions.py index 1c476ec81..9f9136e6f 100644 --- 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]):