]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
iptables-test.py: make explicit use of python3
authorArturo Borrero Gonzalez <arturo@netfilter.org>
Sat, 14 Jan 2023 20:59:47 +0000 (21:59 +0100)
committerFlorian Westphal <fw@strlen.de>
Wed, 15 Mar 2023 21:24:39 +0000 (22:24 +0100)
In most distros 'python' means python2, which is not available anywhere.
This is a problem when, for example, building the Debian package. This
script is called as part of the build but 'python' is not available.

Mention python3 explictly. The script runs just fine in python3.

Signed-off-by: Arturo Borrero Gonzalez <arturo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
iptables-test.py

index de1e1e95fda55c96f1e3e5562a60ba94abdc62d8..ef0a35d3daa2281affce9ab081c2393e63b88398 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # (C) 2012-2013 by Pablo Neira Ayuso <pablo@netfilter.org>
 #