setup_venv: Fix check for whether virtualenv-clone is unavailable.

We don't need a bare except here.
This commit is contained in:
Tim Abbott 2019-03-04 15:29:45 -08:00
parent 478e215acd
commit 4157d15ff1
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ def try_to_copy_venv(venv_path, new_packages):
# that we can expect that virtualenv-clone is present in
# all of our recent virtualenvs.
run_as_root(cmd)
except Exception:
except subprocess.CalledProcessError:
# Virtualenv-clone is not installed. Install it and try running
# the command again.
try: