Salome HOME
updated copyright message
[modules/hexablock.git] / doc / pyplots / test_make_cylinder.py
index ed7e86b024e2dd827e8a82300504c3c7170d07f1..8946a87ea1896a321fa8537b846456d844f60474 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2009-2012  CEA/DEN, EDF R&D
+# Copyright (C) 2009-2023  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
@@ -26,7 +26,7 @@ import GEOM
 import SALOMEDS
 import hexablock
 
-print "test cylindre..."
+print("test cylindre...")
 doc = hexablock.addDocument()
 
 base = doc.addVertex(0, 0, 0)
@@ -45,6 +45,6 @@ nl = height
 elts = doc.makeCylinder(cyl, vb, nr, na, nl)
 
 file_name = os.path.join(os.environ['TMP'], 'cylindre.vtk')
-elts.saveVtk(file_name)
+####  elts.saveVtk(file_name)
 
-print "...test cylindre OK"
+print("...test cylindre OK")