Salome HOME
Cherry-pick 254c2216: Python3 porting: fix the pb with creation of StdMeshersBuilder_...
authorvsr <vsr@opencascade.com>
Thu, 19 Oct 2017 13:52:20 +0000 (16:52 +0300)
committervsr <vsr@opencascade.com>
Thu, 19 Oct 2017 13:52:20 +0000 (16:52 +0300)
src/SMESH_SWIG/smeshBuilder.py

index 1817d97..b60dacb 100644 (file)
@@ -5366,7 +5366,7 @@ class algoCreator:
         if not algoType:
             algoType = self.defaultAlgoType
         if not algoType and self.algoTypeToClass:
-            algoType = list(self.algoTypeToClass.keys())[0]
+            algoType = sorted( self.algoTypeToClass.keys() )[0]
         if algoType in self.algoTypeToClass:
             #print "Create algo",algoType