commit | f54dd78d97410564db2950cc05080428986f90d2 | [log] [tgz] |
---|---|---|
author | Morten Krogh-Jespersen <mkroghj@google.com> | Tue Feb 09 09:06:08 2021 +0100 |
committer | Morten Krogh-Jespersen <mkroghj@google.com> | Tue Feb 09 08:06:36 2021 +0000 |
tree | a6b2c55c58ce04fed467eac49cb349a7983afd57 | |
parent | 357bae1d82bb761afc99bb324e8dec404847c106 [diff] [blame] |
Fix dex-segment utils script for running on python3 Change-Id: Iaaa59c4b8f44522e84aca8fc057428d17b46cbd5
diff --git a/tools/utils.py b/tools/utils.py index a55ea58..dcfa4f8 100644 --- a/tools/utils.py +++ b/tools/utils.py
@@ -455,7 +455,7 @@ cmd = [jdk.GetJavaExecutable(), '-jar', R8_JAR, 'dexsegments'] cmd.extend(dex_files) PrintCmd(cmd) - output = subprocess.check_output(cmd) + output = subprocess.check_output(cmd).decode('utf-8') matches = DEX_SEGMENTS_RESULT_PATTERN.findall(output)