Salome HOME
updated copyright message
[modules/hexablock.git] / doc / pyplots / test_make_cylinder.py
index aed65c6c9f5d6d949d111be1bd5cf724cf1e68b5..e8540d6b60ba41ed11a308b2e970063f5dc5f230 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright (C) 2009-2012  CEA/DEN, EDF R&D
+# Copyright (C) 2009-2023  CEA/DEN, EDF R&D
 #
 # 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)
@@ -47,4 +47,4 @@ elts = doc.makeCylinder(cyl, vb, nr, na, nl)
 file_name = os.path.join(os.environ['TMP'], 'cylindre.vtk')
 ####  elts.saveVtk(file_name)
 
-print "...test cylindre OK"
+print("...test cylindre OK")