Salome HOME
Updated copyright comment
[modules/hexablock.git] / doc / pyplots / bielle.py
index 03452d0877eac1af82e2d8f20a92cb06e501ea21..0a203af4e3d10fa6f3852fa1d482fd2f08a3f632 100644 (file)
@@ -1,5 +1,5 @@
 # -*- coding: latin-1 -*-
-# Copyright (C) 2009-2014  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
@@ -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()