Re: [PATCH] diffconfig: use python3 instead of python in Shebang line

From: Masahiro Yamada
Date: Thu Jan 21 2021 - 15:27:43 EST


On Fri, Jan 22, 2021 at 2:17 AM Scott Branden
<scott.branden@xxxxxxxxxxxx> wrote:
>
> Use python3 instead of python in diffconfig Shebang line.
> python2 was sunset January 1, 2000 and environments do not need
> to support python any more.
>
> Fixes: b24413180f56 ("tweewide: Fix most Shebang lines")
> Signed-off-by: Scott Branden <scott.branden@xxxxxxxxxxxx>
> ---
> scripts/diffconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/diffconfig b/scripts/diffconfig
> index 627eba5849b5..d5da5fa05d1d 100755
> --- a/scripts/diffconfig
> +++ b/scripts/diffconfig
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python
> +#!/usr/bin/env python3
> # SPDX-License-Identifier: GPL-2.0
> #
> # diffconfig - a tool to compare .config files.
> --
> 2.17.1
>

Just from curiosity, what problem is this solving?

Is there a distribution where 'python' does not exist,
but 'python3' does ?


--
Best Regards
Masahiro Yamada