summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-03-21 00:49:33 +0000
committerGerrit Code Review <review@openstack.org>2014-03-21 00:49:33 +0000
commit2aeb8da1dcab1d916928ce4b4b726a1aa4e252b8 (patch)
tree021a70335ae390ae850555c036e355274e9e9367
parentd6d5f1712c3661c8f8822c6d02b9a0e71c1370f4 (diff)
parentaf4c193250c891af3d50973aaf995b6279fda0a1 (diff)
downloadpbr-2aeb8da1dcab1d916928ce4b4b726a1aa4e252b8.tar.gz
Merge "Fixes blocking issue on Windows"
-rw-r--r--pbr/packaging.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pbr/packaging.py b/pbr/packaging.py
index c39f5f7..21b2b82 100644
--- a/pbr/packaging.py
+++ b/pbr/packaging.py
@@ -87,9 +87,11 @@ def _pip_install(links, requires, root=None, option_dict=dict()):
for link in links:
cmd.append("-f")
cmd.append(link)
+
+ # NOTE(ociuhandu): popen on Windows does not accept unicode strings
_run_shell_command(
cmd + requires,
- throw_on_error=True, buffer=False, env=dict(PIP_USE_WHEEL="true"))
+ throw_on_error=True, buffer=False, env=dict(PIP_USE_WHEEL=b"true"))
def _any_existing(file_list):