X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=bin%2Fsmesh_setenv.py;h=8c888cb9ede14b2d161c77d199e44348ebcebc77;hp=a58406c1e78783e067c3b3c0f1ae169dd404de59;hb=f3e2b7fea2d36b7dbe2df39f3e08e9c4d9b30e6d;hpb=bd4e115a78b52e3fbc016e5e30bb0e19b2a9e7d6 diff --git a/bin/smesh_setenv.py b/bin/smesh_setenv.py index a58406c1e..8c888cb9e 100644 --- a/bin/smesh_setenv.py +++ b/bin/smesh_setenv.py @@ -1,11 +1,11 @@ #!/usr/bin/env python # -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE # # 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 @@ -36,7 +36,7 @@ def set_env(args): pass # find plugins - plugin_list = [] + plugin_list = ["StdMeshers"] resource_path_list = [] for env_var in os.environ.keys(): value = os.environ[env_var] @@ -78,7 +78,6 @@ def set_env(args): pass pass break - plugin_list.append("StdMeshers") os.environ["SMESH_MeshersList"] = ":".join(plugin_list) os.environ["SalomeAppConfig"] = os.environ["SalomeAppConfig"] + psep + psep.join(resource_path_list)