Skip to content

Commit 16f8207

Browse files
committed
[sanitizer] Fix type error in python 3
1 parent 94210b1 commit 16f8207

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/sanitizer_common/android_commands/android_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def build_env():
1616
args.append('%s="%s"' % (key, value.replace('"', '\\"')))
1717
return ' '.join(args)
1818

19-
is_64bit = (subprocess.check_output(['file', sys.argv[0] + '.real']).find('64-bit') != -1)
19+
is_64bit = str(subprocess.check_output(['file', sys.argv[0] + '.real'])).find('64-bit') != -1
2020

2121
device_env = build_env()
2222
device_args = ' '.join(sys.argv[1:]) # FIXME: escape?

0 commit comments

Comments
 (0)