From: Gilles DAVID Date: Mon, 31 May 2021 08:44:35 +0000 (+0200) Subject: Reset venv_directory_path in case of non existent venv directory X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a5a49dbd121a92f571721d8ce54fab5ae1dd513a;p=modules%2Fkernel.git Reset venv_directory_path in case of non existent venv directory --- diff --git a/bin/appli_gen.py b/bin/appli_gen.py index 0ea6f37ae..720505ba0 100755 --- a/bin/appli_gen.py +++ b/bin/appli_gen.py @@ -373,6 +373,8 @@ def install(prefix, config_file, verbose=0): from pip.operations import freeze fd.write('\n'.join(freeze.freeze())) del sys.path[0] + else: + venv_directory_path = None with open(os.path.join(home_dir, 'env.d', 'configSalome.sh'),'w') as f: for module in _config.get("modules", []):