commit | 50930e44933ae55ebd97b52f83a1d1feda68a3d7 | [log] [tgz] |
---|---|---|
author | Christoffer Quist Adamsen <christofferqa@google.com> | Wed Jan 20 11:55:12 2021 +0100 |
committer | Christoffer Quist Adamsen <christofferqa@google.com> | Wed Jan 20 11:55:12 2021 +0100 |
tree | c4458cb297a4ba483e0badfa5981a5f1cc0c5b9a | |
parent | 147342c694c6347e87e45e64a0d3b95d02e8073a [diff] [blame] |
Fix 'Can't mix strings and bytes in path components' from run_on_app.py Change-Id: I108b0e15e935ee70bf10c35d8b59fb6ef0ed2f7c
diff --git a/tools/utils.py b/tools/utils.py index e02cedb..0b5b03e 100644 --- a/tools/utils.py +++ b/tools/utils.py
@@ -269,7 +269,7 @@ cmd = ['git', 'rev-parse', 'HEAD'] PrintCmd(cmd) with ChangedWorkingDirectory(checkout): - return subprocess.check_output(cmd).strip() + return subprocess.check_output(cmd).decode('utf-8').strip() def makedirs_if_needed(path): try: