From d32def38b4259ea97d56a4b7d21e369928603d06 Mon Sep 17 00:00:00 2001 From: Mikhail Yumanov Date: Fri, 12 Mar 2021 06:51:16 +0000 Subject: [PATCH] CST-10 znick#336 Added venv deactivation --- deploy_local_beta/cleanup.sh | 2 +- deploy_local_beta/deploy_local_beta_python2.sh | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/deploy_local_beta/cleanup.sh b/deploy_local_beta/cleanup.sh index cedb72208..945e2e0a0 100644 --- a/deploy_local_beta/cleanup.sh +++ b/deploy_local_beta/cleanup.sh @@ -21,7 +21,7 @@ done # CLEANUP ######### -# TODO: cleanup django project +deactivate if test $ANYBETA_SAVE_VENV -eq 0 then diff --git a/deploy_local_beta/deploy_local_beta_python2.sh b/deploy_local_beta/deploy_local_beta_python2.sh index 2c9df50ec..706368913 100644 --- a/deploy_local_beta/deploy_local_beta_python2.sh +++ b/deploy_local_beta/deploy_local_beta_python2.sh @@ -12,12 +12,6 @@ else #SETUP VIRTUALENV ################# -if test -e $ANYBETA_VENV_DIR -then - ANYBETA_report "Remove old virtualenv" - rm -r $ANYBETA_VENV_DIR -fi - ANYBETA_report ANYBETA_report "Enable virtualenv"