[PATCH] change shebang to python3

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

 



as there are still OSes (RHEL7 and clones) that point `python` to `python2`

Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@xxxxxxx>
---
 nfs4.0/nfs4client.py  | 2 +-
 nfs4.0/nfs4lib.py     | 2 +-
 nfs4.0/nfs4server.py  | 2 +-
 nfs4.0/setup.py       | 2 +-
 nfs4.0/testserver.py  | 2 +-
 nfs4.1/errorparser.py | 2 +-
 nfs4.1/nfs4proxy.py   | 2 +-
 nfs4.1/nfs4server.py  | 2 +-
 nfs4.1/testclient.py  | 2 +-
 nfs4.1/testserver.py  | 2 +-
 setup.py              | 2 +-
 showresults.py        | 2 +-
 xdr/setup.py          | 2 +-
 xdr/xdrgen.py         | 2 +-
 14 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/nfs4.0/nfs4client.py b/nfs4.0/nfs4client.py
index f67c1e3..d3d6e88 100755
--- a/nfs4.0/nfs4client.py
+++ b/nfs4.0/nfs4client.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #
 # nfs4client.py - NFS4 interactive client in python
diff --git a/nfs4.0/nfs4lib.py b/nfs4.0/nfs4lib.py
index a9a65d7..905f8f4 100644
--- a/nfs4.0/nfs4lib.py
+++ b/nfs4.0/nfs4lib.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # nfs4lib.py - NFS4 library for Python
 #
 # Requires python 3.2
diff --git a/nfs4.0/nfs4server.py b/nfs4.0/nfs4server.py
index 753372e..3cf6ec2 100755
--- a/nfs4.0/nfs4server.py
+++ b/nfs4.0/nfs4server.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # nfs4server.py - NFS4 server in python
 #
diff --git a/nfs4.0/setup.py b/nfs4.0/setup.py
index fa680e2..58349d9 100755
--- a/nfs4.0/setup.py
+++ b/nfs4.0/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 from __future__ import absolute_import
diff --git a/nfs4.0/testserver.py b/nfs4.0/testserver.py
index a225077..3ceac3c 100755
--- a/nfs4.0/testserver.py
+++ b/nfs4.0/testserver.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # nfs4stest.py - nfsv4 server tester
 #
 # Requires python 3.2
diff --git a/nfs4.1/errorparser.py b/nfs4.1/errorparser.py
index 328fe8d..9df41d9 100755
--- a/nfs4.1/errorparser.py
+++ b/nfs4.1/errorparser.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from __future__ import with_statement
 import use_local # HACK so don't have to rebuild constantly
 from xml.dom import minidom
diff --git a/nfs4.1/nfs4proxy.py b/nfs4.1/nfs4proxy.py
index dc8fdd4..dd870d9 100755
--- a/nfs4.1/nfs4proxy.py
+++ b/nfs4.1/nfs4proxy.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from __future__ import with_statement
 import use_local # HACK so don't have to rebuild constantly
 import nfs4lib
diff --git a/nfs4.1/nfs4server.py b/nfs4.1/nfs4server.py
index 4500daf..6f7d10c 100755
--- a/nfs4.1/nfs4server.py
+++ b/nfs4.1/nfs4server.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from __future__ import with_statement
 import use_local # HACK so don't have to rebuild constantly
 import nfs4lib
diff --git a/nfs4.1/testclient.py b/nfs4.1/testclient.py
index 46b7abc..dd68bda 100755
--- a/nfs4.1/testclient.py
+++ b/nfs4.1/testclient.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # nfs4stest.py - nfsv4 server tester
 #
 # Requires python 3.2
diff --git a/nfs4.1/testserver.py b/nfs4.1/testserver.py
index 8b80863..01d600e 100755
--- a/nfs4.1/testserver.py
+++ b/nfs4.1/testserver.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # nfs4stest.py - nfsv4 server tester
 #
 # Requires python 3.2
diff --git a/setup.py b/setup.py
index 3e48346..83dc6b5 100755
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
diff --git a/showresults.py b/showresults.py
index a39e1b9..5abd72a 100755
--- a/showresults.py
+++ b/showresults.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # showresults.py - redisplay results from nfsv4 server tester output file
 #
 # Requires python 3.2
diff --git a/xdr/setup.py b/xdr/setup.py
index 1ab9c8d..e8af152 100644
--- a/xdr/setup.py
+++ b/xdr/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from distutils.core import setup
 
diff --git a/xdr/xdrgen.py b/xdr/xdrgen.py
index abfc8d7..130f364 100755
--- a/xdr/xdrgen.py
+++ b/xdr/xdrgen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # rpcgen.py - A Python RPC protocol compiler
 # 
 # Written by Fred Isaman <iisaman@xxxxxxxxxxxxxx>
-- 
2.26.2




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux