From: eap Date: Thu, 19 Oct 2017 12:30:51 +0000 (+0300) Subject: Python3 porting X-Git-Tag: V9_0_0~1^2~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=254c2216;p=modules%2Fsmesh.git 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 4b88a8050..e83fbe993 100644 --- a/src/SMESH_SWIG/smeshBuilder.py +++ b/src/SMESH_SWIG/smeshBuilder.py @@ -5292,7 +5292,7 @@ class algoCreator: if not algoType: algoType = self.defaultAlgoType if not algoType and self.algoTypeToClass: - algoType = self.algoTypeToClass.keys()[0] + algoType = sorted( self.algoTypeToClass.keys() )[0] if self.algoTypeToClass.has_key( algoType ): #print "Create algo",algoType return self.algoTypeToClass[ algoType ]( self.mesh, shape )