aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSigned-off-by: NeilBrown <neilb@suse.de>2020-08-31 10:48:04 -0400
committerSteve Dickson <steved@redhat.com>2020-08-31 10:55:07 -0400
commitd1683f356bd920d93f2db007902b2c46f97a2e49 (patch)
tree4086b7e5613575d9296ce9e428b62fa8460926d1
parent4d5da01f926341bca97617e223656e3a90bcce5d (diff)
downloadnfs-utils-d1683f356bd920d93f2db007902b2c46f97a2e49.tar.gz
Convert remaining python scripts to python3
nfs-utils contains 4 python scripts, two request /usr/bin/python3 in their shebang line, two request /usr/bin/python Those latter two run perfectly well with python3 and as python2 is on the way out, change them so they requrest /usr/bin/python3. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
-rwxr-xr-xtools/mountstats/mountstats.py2
-rwxr-xr-xtools/nfs-iostat/nfs-iostat.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py
index 1054f698..00adc96b 100755
--- a/tools/mountstats/mountstats.py
+++ b/tools/mountstats/mountstats.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# -*- python-mode -*-
"""Parse /proc/self/mountstats and display it in human readable form
"""
diff --git a/tools/nfs-iostat/nfs-iostat.py b/tools/nfs-iostat/nfs-iostat.py
index 50fd6a92..4f5e8a66 100755
--- a/tools/nfs-iostat/nfs-iostat.py
+++ b/tools/nfs-iostat/nfs-iostat.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# -*- python-mode -*-
"""Emulate iostat for NFS mount points using /proc/self/mountstats
"""