diff options
author | Renato Botelho do Couto <renato@netgate.com> | 2019-10-31 13:31:07 -0500 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2019-11-05 21:08:59 +0000 |
commit | ead1e536d66d83b546528c32e2112085a97c8e13 (patch) | |
tree | 3e4836ecee7011a506444091aa22c24922e96713 /src/plugins/acl | |
parent | 464e5e0bfebc71c646e5c182535898cc7018236b (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/acl')
-rw-r--r-- | src/plugins/acl/test/test_acl_plugin.py | 2 | ||||
-rw-r--r-- | src/plugins/acl/test/test_acl_plugin_conns.py | 2 | ||||
-rw-r--r-- | src/plugins/acl/test/test_acl_plugin_l2l3.py | 2 | ||||
-rw-r--r-- | src/plugins/acl/test/test_acl_plugin_macip.py | 2 | ||||
-rw-r--r-- | src/plugins/acl/test/test_classify_l2_acl.py | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/acl/test/test_acl_plugin.py b/src/plugins/acl/test/test_acl_plugin.py index a85414e440a..f07d37548fe 100644 --- a/src/plugins/acl/test/test_acl_plugin.py +++ b/src/plugins/acl/test/test_acl_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ACL plugin Test Case HLD: """ diff --git a/src/plugins/acl/test/test_acl_plugin_conns.py b/src/plugins/acl/test/test_acl_plugin_conns.py index 58c44e68262..ac9e7c11f2f 100644 --- a/src/plugins/acl/test/test_acl_plugin_conns.py +++ b/src/plugins/acl/test/test_acl_plugin_conns.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ ACL plugin extended stateful tests """ import unittest diff --git a/src/plugins/acl/test/test_acl_plugin_l2l3.py b/src/plugins/acl/test/test_acl_plugin_l2l3.py index 31b4058fc69..6aaf4203770 100644 --- a/src/plugins/acl/test/test_acl_plugin_l2l3.py +++ b/src/plugins/acl/test/test_acl_plugin_l2l3.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ACL IRB Test Case HLD: **config** diff --git a/src/plugins/acl/test/test_acl_plugin_macip.py b/src/plugins/acl/test/test_acl_plugin_macip.py index 31bc8e5478c..e1393696875 100644 --- a/src/plugins/acl/test/test_acl_plugin_macip.py +++ b/src/plugins/acl/test/test_acl_plugin_macip.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function """ACL plugin - MACIP tests """ diff --git a/src/plugins/acl/test/test_classify_l2_acl.py b/src/plugins/acl/test/test_classify_l2_acl.py index 1525f7225f0..c9962d638bd 100644 --- a/src/plugins/acl/test/test_classify_l2_acl.py +++ b/src/plugins/acl/test/test_classify_l2_acl.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Classifier-based L2 ACL Test Case HLD: """ |