Salome HOME
Copyright update 2020
[modules/med.git] / src / MEDCalculator / Swig / spython.cxx
index d6e3e9d2bdf0d44ed29649a2813b93ddf8cd5690..24de67d77ff1b18574a5acc562030875a158fc74 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020  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
@@ -34,7 +34,7 @@ void runInFileAndQuit(PyObject *glob, PyObject *loc, const char *fileName)
   std::ifstream ifs(fileName);
   ifs.exceptions( std::ifstream::badbit );
   char *line=new char[MAX_LINE+1];
-  ParaMEDMEM::SPythonInterpreter interp(glob,loc);
+  MEDCoupling::SPythonInterpreter interp(glob,loc);
   bool isspython;
   while(!ifs.eof())
     {
@@ -49,7 +49,7 @@ void runInInteractiveMode(PyObject *glob, PyObject *loc)
 {
   std::string s;
   char *line=new char[MAX_LINE+1];
-  ParaMEDMEM::SPythonInterpreter interp(glob,loc);
+  MEDCoupling::SPythonInterpreter interp(glob,loc);
   bool isInterp=true;
   while(true)
     {