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:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2017 The Android Open Source Project
|
||||
#
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2017 The Android Open Source Project
|
||||
#
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2017 The Android Open Source Project
|
||||
#
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user