Salome HOME
Install file medutilies.py into lib/python instead of bin.
[tools/medcoupling.git] / src / MEDLoader / Swig / medutilities.py
index c53c98524bbf820b1a7db41a8e616063d326e9a6..e0a3d3fb654c42c57f05453c24f8d8dbf09109b5 100644 (file)
@@ -1,11 +1,11 @@
 # -*- coding: iso-8859-1 -*-
 # --
-# Copyright (C) 2009-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2009-2016  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
@@ -33,7 +33,7 @@ def my_remove(f):
 
 def convert(file_in, driver_in, driver_out, format=1, file_out=None):
     #
-    print file_in
+    print(file_in)
     #
     if file_out is None:
         file_out = file_in
@@ -45,7 +45,7 @@ def convert(file_in, driver_in, driver_out, format=1, file_out=None):
             msg = "Driver out %s is unknown"%(driver_out)
             raise NotImplementedError(msg)
         pass
-    print file_out
+    print(file_out)
     #
     if driver_in == "GIBI":
         sr = SauvReader.New(file_in)