diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-01-30 18:33:54 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-31 20:36:03 -0800 |
commit | 981cbcb030d919ee49ebbfc2889839c6882d9ea7 (patch) | |
tree | a41b01fa7e86dec309f68eecaa2d4ec6fbdb47cd /tools/net | |
parent | 01e47a372268beaec517dc0ea8d9101550600df4 (diff) | |
download | lwn-981cbcb030d919ee49ebbfc2889839c6882d9ea7.tar.gz lwn-981cbcb030d919ee49ebbfc2889839c6882d9ea7.zip |
tools: net: use python3 explicitly
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>
Diffstat (limited to 'tools/net')
-rwxr-xr-x | tools/net/ynl/cli.py | 2 | ||||
-rwxr-xr-x | tools/net/ynl/ynl-gen-c.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/net/ynl/cli.py b/tools/net/ynl/cli.py index e64f1478764f..db410b74d539 100755 --- a/tools/net/ynl/cli.py +++ b/tools/net/ynl/cli.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # SPDX-License-Identifier: BSD-3-Clause import argparse diff --git a/tools/net/ynl/ynl-gen-c.py b/tools/net/ynl/ynl-gen-c.py index dc14da634e8e..3942f24b9163 100755 --- a/tools/net/ynl/ynl-gen-c.py +++ b/tools/net/ynl/ynl-gen-c.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import argparse import collections |