diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-11 05:11:58 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-11 05:11:58 +0000 |
commit | 7ae8dee27822601288c818c71daeac4f5f40ae4b (patch) | |
tree | d844377f99b8e3c8817771c76ee809811acd60e1 | |
parent | 7fcad864775605585236a0d08d8bf948e54861cf (diff) | |
parent | a407992cf4906d2228f8fbd4beb5605f6bdab0a8 (diff) | |
download | ktlint-aml_swc_331911000.tar.gz |
Snap for 8570526 from a407992cf4906d2228f8fbd4beb5605f6bdab0a8 to mainline-media-swcodec-releaseaml_swc_331911000aml_swc_331712000aml_swc_331612000aml_swc_331511000aml_swc_331410000aml_swc_331318000aml_swc_331116000aml_swc_331012020android13-mainline-media-swcodec-release
Change-Id: I6d63483411c40490f1d3f87d89b815f4aa9c22b4
-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: |