X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FCONFIG%2FeficasConfig.py;h=94acd0ebb5f9f339e485e0718e07aceb5796749f;hb=ce039e349d36782d96b5459de406e4cf3d7c73a3;hp=b50a33714421540cb733ad72e267e1b21923e1e3;hpb=877737f813538f5cb7549feea81ba9aebfe0faa9;p=modules%2Feficas.git diff --git a/src/CONFIG/eficasConfig.py b/src/CONFIG/eficasConfig.py index b50a3371..94acd0eb 100644 --- a/src/CONFIG/eficasConfig.py +++ b/src/CONFIG/eficasConfig.py @@ -1,18 +1,26 @@ -import os - - +# Copyright (C) 2001-2017 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, 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 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# +import os -# répertoire du logiciel Eficas +# répertoire du logiciel Eficas eficasPath = '' -if os.environ.has_key( "EFICAS_ROOT"): +if "EFICAS_ROOT" in os.environ: eficasPath = os.environ["EFICAS_ROOT"] - - - - - - - -