Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
nfs-utils
0009-Convert-remaining-python-scripts-to-python...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0009-Convert-remaining-python-scripts-to-python3.patch of Package nfs-utils
From d1683f356bd920d93f2db007902b2c46f97a2e49 Mon Sep 17 00:00:00 2001 From: "Signed-off-by: NeilBrown" <neilb@suse.de> Date: Mon, 31 Aug 2020 10:48:04 -0400 Subject: [PATCH] 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> --- tools/mountstats/mountstats.py | 2 +- tools/nfs-iostat/nfs-iostat.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/tools/mountstats/mountstats.py +++ b/tools/mountstats/mountstats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # -*- python-mode -*- """Parse /proc/self/mountstats and display it in human readable form """ --- 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 """
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor