diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-02-02 09:06:04 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-03 10:00:52 +0300 |
commit | 9427906999778401518c592662c8801d00eb46bb (patch) | |
tree | c43cf6bfa8fb1ce36fd8759b67de8fc92bedc92a /scripts | |
parent | c1febac44856c9346bef939b9b0987ee8f0609e2 (diff) | |
download | linux-9427906999778401518c592662c8801d00eb46bb.tar.xz |
scripts/clang-tools: switch explicitly to Python 3
commit 074075aea2ff72dade5231b4ee9f2ab9a055f1ec upstream.
For the same reason as commit 51839e29cb59 ("scripts: switch explicitly
to Python 3"), switch some more scripts, which I tested and confirmed
working on Python 3.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/clang-tools/gen_compile_commands.py | 2 | ||||
-rwxr-xr-x | scripts/clang-tools/run-clang-tools.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/clang-tools/gen_compile_commands.py b/scripts/clang-tools/gen_compile_commands.py index 19963708bcf8..8ddb5d099029 100755 --- a/scripts/clang-tools/gen_compile_commands.py +++ b/scripts/clang-tools/gen_compile_commands.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # SPDX-License-Identifier: GPL-2.0 # # Copyright (C) Google LLC, 2018 diff --git a/scripts/clang-tools/run-clang-tools.py b/scripts/clang-tools/run-clang-tools.py index fa7655c7cec0..f754415af398 100755 --- a/scripts/clang-tools/run-clang-tools.py +++ b/scripts/clang-tools/run-clang-tools.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # SPDX-License-Identifier: GPL-2.0 # # Copyright (C) Google LLC, 2020 |