install action fails with pip-build directory

Bug: 1179747

stable/grizzly solution not work for folsom. So at least run all
python-pip as root

Change-Id: I66b153fb186c407279317f87cc6ecd5e76dc4c4a
This commit is contained in:
Nikita Savin 2013-07-23 13:20:54 -07:00
parent 9b7e37d90a
commit e9bf64cc1a
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ def uncache():
def _list_installed(pip_how):
cmd = [str(pip_how)] + FREEZE_CMD
(stdout, _stderr) = sh.execute(*cmd)
(stdout, _stderr) = sh.execute(*cmd, run_as_root=True)
installed = []
for line in stdout.splitlines():
line = line.strip()