Skip to content

Commit

Permalink
CST-10 znick#336 Added venv deactivation
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailyumanov committed Mar 12, 2021
1 parent 767f1ef commit d32def3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion deploy_local_beta/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ done
# CLEANUP
#########

# TODO: cleanup django project
deactivate

if test $ANYBETA_SAVE_VENV -eq 0
then
Expand Down
6 changes: 0 additions & 6 deletions deploy_local_beta/deploy_local_beta_python2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit d32def3

Please sign in to comment.