diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-10 07:10:10 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-10 07:10:10 +0000 |
commit | a3f677e72f0c7d2b746a95d11c206ecab0167ed4 (patch) | |
tree | d844377f99b8e3c8817771c76ee809811acd60e1 | |
parent | 5e4b0980bd9b50e5f9042d99d64bf8c7de813516 (diff) | |
parent | a407992cf4906d2228f8fbd4beb5605f6bdab0a8 (diff) | |
download | ktlint-android13-mainline-extservices-release.tar.gz |
Snap for 8564071 from a407992cf4906d2228f8fbd4beb5605f6bdab0a8 to mainline-extservices-releaseaml_ext_331814220aml_ext_331412000aml_ext_331312000aml_ext_331112010aml_ext_331012020android13-mainline-extservices-release
Change-Id: If6d030509ca0476b057aafd197cfc40838808c8a
-rwxr-xr-x | ktlint.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 # # Copyright 2017, The Android Open Source Project @@ -60,7 +60,7 @@ def main(args=None): stdout, _ = check.communicate() if stdout: print('prebuilts/ktlint found errors in files you changed:') - print(stdout) + print(stdout.decode('utf-8')) print(FORMAT_MESSAGE.format(MAIN_DIRECTORY, ' '.join(kt_files))) sys.exit(1) else: |