]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
tools: net: use python3 explicitly
authorJakub Kicinski <kuba@kernel.org>
Tue, 31 Jan 2023 02:33:54 +0000 (18:33 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 1 Feb 2023 04:36:03 +0000 (20:36 -0800)
The scripts require Python 3 and some distros are dropping
Python 2 support.

Reported-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/cli.py
tools/net/ynl/ynl-gen-c.py

index e64f1478764f28896321ec7bb6f56a4d74b5e911..db410b74d5395cb63e5094eafdaffc54552912cb 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # SPDX-License-Identifier: BSD-3-Clause
 
 import argparse
index dc14da634e8e2613ff4f946332adb8401e08ff93..3942f24b9163569e1e7edaf945aae97fc926035a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import argparse
 import collections