Salome HOME
Updated copyright comment
[modules/hexablock.git] / doc / pyplots / bielle.py
index 6148cbd18f71cefd4afe8f4fab65229de411035c..0a203af4e3d10fa6f3852fa1d482fd2f08a3f632 100644 (file)
@@ -1,10 +1,10 @@
 # -*- coding: latin-1 -*-
-# Copyright (C) 2009-2012  CEA/DEN, EDF R&D
+# Copyright (C) 2009-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -564,12 +564,12 @@ doc.saveVtk(file_name)
 ## #=================================================
 
 # vertices :
-for key, value in dic_vert_names.iteritems():
+for key, value in list(dic_vert_names.items()):
     geompy.addToStudy(geom_vert_grd[value], key + '_g')
     geompy.addToStudy(geom_vert_pte[value], key + '_p')
 
 # edges :
-for key, value in dic_edge_names.iteritems():
+for key, value in list(dic_edge_names.items()):
     geompy.addToStudy(all_edges_bielle[value], key)
 
 #====================================
@@ -621,7 +621,7 @@ for j in range(doc.countPropagation()):
 # G�n�rer des maillages
 #====================================
 
-print  " --- MAILLAGE HEXAHEDRIQUE --- "
+print(" --- MAILLAGE HEXAHEDRIQUE --- ")
 mesh_hexas = hexablock.mesh(doc)
 
 ## print "Nombre d hexaedres:", mesh_hexas.NbHexas()