Merge "Convert vndk scripts to python3" am: 77cd06c038

Original change: https://android-review.googlesource.com/c/platform/development/+/1396389

Change-Id: Id23b7a1c7e0a89404011dba3d7f1f0060bc04c01
This commit is contained in:
Treehugger Robot
2020-08-13 05:23:52 +00:00
committed by Automerger Merge Worker
4 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (C) 2017 The Android Open Source Project
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (C) 2017 The Android Open Source Project
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (C) 2017 The Android Open Source Project
#

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# Copyright (C) 2017 The Android Open Source Project
#
@@ -52,7 +52,7 @@ def check_call(cmd):
def check_output(cmd):
logging.debug('Running `{}`'.format(' '.join(cmd)))
output = subprocess.check_output(cmd)
output = subprocess.check_output(cmd, encoding='utf-8')
logging.debug('Output: `{}`'.format(output))
return output