commit | e3da4c948499edb514e94493f9d8617534160dc7 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@chromium.org> | Sun Oct 13 23:00:42 2019 -0400 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Oct 22 16:25:50 2019 +0000 |
tree | 882136dab9927076d032a7ddcad1c5960ba098ba | |
parent | 62b5cdc733cc9c28dd2ace034d7cc6d5e5189ff5 [diff] [blame] |
virtualenv_wrapper: fix string handling We use the output of this command in os.path.join, so make sure it's a string and not bytes. This fixes a bunch of unittests too. BUG=chromium:997354 TEST=`./run_tests` passes Change-Id: I1f371b76d710c393b302fb3c18d2916f4c7e7fe2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/1869344 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org>
diff --git a/scripts/virtualenv_wrapper.py b/scripts/virtualenv_wrapper.py index 3985cf2..3b710c9 100755 --- a/scripts/virtualenv_wrapper.py +++ b/scripts/virtualenv_wrapper.py
@@ -38,7 +38,7 @@ return subprocess.check_output([ _CREATE_VENV_PATH, _REQUIREMENTS, - ]).rstrip() + ]).rstrip().decode('utf-8') def _ExecInVenv(venvdir, args):