Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete newly created virtualenv if creation fails
Fixes #4929: If a virtualenv is created, but a transient network error prevents core dependencies to be installed in this virtualenv (for example, pip3), we should delete the virtualenv to prevent subsequent `./securedrop-admin setup` runs from failing. (cherry picked from commit a909bd0)
- Loading branch information