summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/test
diff options
context:
space:
mode:
authorRenato Botelho do Couto <renato@netgate.com>2019-10-31 13:31:07 -0500
committerDave Wallace <dwallacelf@gmail.com>2019-11-05 21:08:59 +0000
commitead1e536d66d83b546528c32e2112085a97c8e13 (patch)
tree3e4836ecee7011a506444091aa22c24922e96713 /src/plugins/nat/test
parent464e5e0bfebc71c646e5c182535898cc7018236b (diff)
misc: Fix python scripts shebang line
Type: fix Since CentOS 8, RPM build script doesn't accept '#!/usr/bin/env python' as a valid shebang line. It requires scripts to explicitly chose between python2 or python3. Change all to use python3 as suggested by Paul Vinciguerra. Depends-On: https://gerrit.fd.io/r/23170 Signed-off-by: Renato Botelho do Couto <renato@netgate.com> Change-Id: Ie72af9f60fd0609e07f05b70f8d96e738b2754d1
Diffstat (limited to 'src/plugins/nat/test')
-rw-r--r--src/plugins/nat/test/test_ipsec_nat.py2
-rw-r--r--src/plugins/nat/test/test_nat.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nat/test/test_ipsec_nat.py b/src/plugins/nat/test/test_ipsec_nat.py
index 07670d71b03..dcedf64b52d 100644
--- a/src/plugins/nat/test/test_ipsec_nat.py
+++ b/src/plugins/nat/test/test_ipsec_nat.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import socket
diff --git a/src/plugins/nat/test/test_nat.py b/src/plugins/nat/test/test_nat.py
index 448a7fcf14c..d430c5111a9 100644
--- a/src/plugins/nat/test/test_nat.py
+++ b/src/plugins/nat/test/test_nat.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import socket
import unittest