diff mbox series

[iptables] iptables-test.py: make explicit use of python3

Message ID 167372998704.237931.14378651440204180182.stgit@nostromo
State Accepted, archived
Delegated to: Pablo Neira
Headers show
Series [iptables] iptables-test.py: make explicit use of python3 | expand

Commit Message

Arturo Borrero Gonzalez Jan. 14, 2023, 8:59 p.m. UTC
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>
---
 iptables-test.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/iptables-test.py b/iptables-test.py
index de1e1e95..ef0a35d3 100755
--- a/iptables-test.py
+++ b/iptables-test.py
@@ -1,4 +1,4 @@ 
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # (C) 2012-2013 by Pablo Neira Ayuso <pablo@netfilter.org>
 #