From 439d6e243818948a685809d0707a02aef93e4930 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 22 Jan 2020 11:16:05 +0300 Subject: [PATCH] Revert "bos #18467 Minor correction to setenv.py" This reverts commit 731335c587a8e83d29ffaadffc5fcf72d42c5cfb. --- bin/setenv.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/setenv.py b/bin/setenv.py index 5df8fe1af..09ecdb172 100755 --- a/bin/setenv.py +++ b/bin/setenv.py @@ -245,9 +245,8 @@ def set_env(args, modules_list, modules_root_dir, silent=False): # ----------------------------------------------------------------------------- def main(silent=False, exeName=None): - keep_env = not os.getenv('SALOME_PLEASE_SETUP_ENVIRONMENT_AS_BEFORE') - args, modules_list, modules_root_dir = get_config(silent=silent, exeName=exeName, keepEnvironment=keep_env) - set_env(args, modules_list, modules_root_dir, silent=silent, keepEnvironment=keep_env) + args, modules_list, modules_root_dir = get_config(silent=silent, exeName=exeName) + set_env(args, modules_list, modules_root_dir, silent=silent) return args # ----------------------------------------------------------------------------- -- 2.39.2