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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
---
 iptables-test.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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@xxxxxxxxxxxxx>
 #




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux