Use -y with 'pip uninstall'
'pip uninstall' will hang running stack.sh if it has to prompt the user for input, use -y. Change-Id: Ic94639e444b87fd3538463d5a51c01a0208a2ab2 Closes-bug: #1691172
This commit is contained in:
parent
ac042d4122
commit
954fd1b729
@ -362,7 +362,7 @@ function pip_uninstall {
|
||||
local sudo_pip="sudo -H"
|
||||
fi
|
||||
# don't error if we can't uninstall, it might not be there
|
||||
$sudo_pip $cmd_pip uninstall $name || /bin/true
|
||||
$sudo_pip $cmd_pip uninstall -y $name || /bin/true
|
||||
}
|
||||
|
||||
# get version of a package from global requirements file
|
||||
|
Loading…
Reference in New Issue
Block a user