From 9c0ddde6c830d4718cea88160693fdad6cb15137 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 16 Feb 2026 18:23:35 +0100 Subject: Tree-wide use of python3 It seems that unversioned Python shebangs are discouraged these days: - See the lintian web on Debian: https://lintian.debian.org/tags/script-uses-unversioned-python-in-shebang.html - Also, see "Finalizing Fedora's Switch to Python3": https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 Replace them all tree-wide. Signed-off-by: Pablo Neira Ayuso --- tests/shell/helpers/json-pretty.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/shell') diff --git a/tests/shell/helpers/json-pretty.sh b/tests/shell/helpers/json-pretty.sh index 31739b02..e8679583 100755 --- a/tests/shell/helpers/json-pretty.sh +++ b/tests/shell/helpers/json-pretty.sh @@ -1,7 +1,7 @@ #!/bin/bash -e exec_pretty() { - # The output of this command must be stable (and `jq` and python + # The output of this command must be stable (and `jq` and python3 # fallback must generate the same output. if command -v jq &>/dev/null ; then @@ -9,7 +9,7 @@ exec_pretty() { exec jq fi - # Fallback to python. + # Fallback to python3. exec python3 -c ' import json import sys -- cgit v1.2.3