Browse code

Merge "Use -y with 'pip uninstall'"

Jenkins authored on 2017/05/17 09:41:04
Showing 1 changed files
... ...
@@ -362,7 +362,7 @@ function pip_uninstall {
362 362
         local sudo_pip="sudo -H"
363 363
     fi
364 364
     # don't error if we can't uninstall, it might not be there
365
-    $sudo_pip $cmd_pip uninstall $name || /bin/true
365
+    $sudo_pip $cmd_pip uninstall -y $name || /bin/true
366 366
 }
367 367
 
368 368
 # get version of a package from global requirements file