From 954fd1b729f792dc6cbc470285a5e147053147a8 Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Tue, 16 May 2017 12:24:45 -0400 Subject: [PATCH] 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 --- inc/python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/python b/inc/python index a004217b4a..4c443d6a00 100644 --- a/inc/python +++ b/inc/python @@ -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