From: vsr Date: Thu, 19 Oct 2017 13:52:20 +0000 (+0300) Subject: Cherry-pick 254c2216: Python3 porting: fix the pb with creation of StdMeshersBuilder_... X-Git-Tag: V9_0_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f1313a5ca0b091dd5cb88c7eb0f4f1e5ea3f7bdb;p=modules%2Fsmesh.git Cherry-pick 254c2216: Python3 porting: fix the pb with creation of StdMeshersBuilder_RadialPrism3D by mesh.Prism() --- diff --git a/src/SMESH_SWIG/smeshBuilder.py b/src/SMESH_SWIG/smeshBuilder.py index 1817d97ac..b60dacbc8 100644 --- a/src/SMESH_SWIG/smeshBuilder.py +++ b/src/SMESH_SWIG/smeshBuilder.py @@ -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