From f1313a5ca0b091dd5cb88c7eb0f4f1e5ea3f7bdb Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 19 Oct 2017 16:52:20 +0300 Subject: [PATCH] Cherry-pick 254c2216: Python3 porting: fix the pb with creation of StdMeshersBuilder_RadialPrism3D by mesh.Prism() --- src/SMESH_SWIG/smeshBuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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