From: Pablo Neira Ayuso Date: Mon, 17 Nov 2025 21:55:45 +0000 (+0000) Subject: tests: shell: refer to python3 in json prettify script X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=thirdparty%2Fnftables.git tests: shell: refer to python3 in json prettify script Some distros only refer to python3, update it. Signed-off-by: Pablo Neira Ayuso Signed-off-by: Florian Westphal --- diff --git a/tests/shell/helpers/json-pretty.sh b/tests/shell/helpers/json-pretty.sh index 5407a842..31739b02 100755 --- a/tests/shell/helpers/json-pretty.sh +++ b/tests/shell/helpers/json-pretty.sh @@ -10,7 +10,7 @@ exec_pretty() { fi # Fallback to python. - exec python -c ' + exec python3 -c ' import json import sys