Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3214231pxa; Tue, 25 Aug 2020 14:55:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzg1CYCtOKAS+9e9nYK46V/9XDli+sbLuau4ks38ig+Rn2S62aD3ehxCX28al33hI/iqOtw X-Received: by 2002:a17:906:656:: with SMTP id t22mr3793850ejb.392.1598392515516; Tue, 25 Aug 2020 14:55:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598392515; cv=none; d=google.com; s=arc-20160816; b=upqqEHANkbaKbvhD3vGZU1QncPoRreMBa6ONLrwHDdWbSB10aFf/zFU0LfVFEgnt9b nJjk8Tzmf8jEHTmRTajZhqW4nux6REqFBzsdE2D1Phcwnc8343S9TcvDWV3M2zkMm6l2 DRGCEgWbfuBql1lp2AOfouQUy4krjIGM9jxvbRwCmzwFZ4//VvWjWMBorAqkkWnuaaqn 7n/gWHEh3I7ZNDt2RVz3W3hx/jjM5vbgOypMLV+nnsjAAvtHYAR11NyK5Bbh14W0cy/r CXYmNuIa6GjXr8eH/2qP5F7EnHmK0pvIIRX5LRDavf8y8RrP6U7Bx3nanyO9cVW4WjxQ mnMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:cc:subject:date :to:from; bh=K2ZOYqwToQWJd+umd2KhaIcsB7g+S/hBzjSV68i0na8=; b=l/ZtFr6JrH5SFz2LUJfDH4m2jtzRCbQy76WxksWZ7idS+Ub2dv2qr/zYJkC0u2sbpG hePIsgoVUXjaHA3RdnLvC5ASC1k8W86jG0+3ae2XRZtzU+MCE6dorkTle8mQi0bG2rJ4 j9nucihROIEHjLVmJ9rh8T7xCqhrXyUCNXMCDTdcgrS24Uy8xZc2l8SDASbmQSI8N8Cz OApDk+c7ZdXKnyy0HYsh7Dgx8tD6luN0TPY5EOtxRFuPeEoT11HulthU3ERBAzVd7S/5 orOjVU4uklNeOykVCAM8cbzxfkFZmMSFoQEn9BhTrcCHAdnpqTc2YTTXcc3QrnSDo9aP CapA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si202536ejn.410.2020.08.25.14.54.41; Tue, 25 Aug 2020 14:55:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726356AbgHYVyb (ORCPT + 99 others); Tue, 25 Aug 2020 17:54:31 -0400 Received: from mx2.suse.de ([195.135.220.15]:49204 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726303AbgHYVya (ORCPT ); Tue, 25 Aug 2020 17:54:30 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 8A508B165; Tue, 25 Aug 2020 21:55:00 +0000 (UTC) From: NeilBrown To: Steve Dickson Date: Wed, 26 Aug 2020 07:54:22 +1000 Subject: [PATCH nfs-utils] Convert remaining python scripts to python3 cc: Linux NFS Mailing List Message-ID: <87zh6iqtm9.fsf@notabene.neil.brown.name> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 =2D-- tools/mountstats/mountstats.py | 2 +- tools/nfs-iostat/nfs-iostat.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py index 1054f698c8e3..00adc96bafeb 100755 =2D-- a/tools/mountstats/mountstats.py +++ b/tools/mountstats/mountstats.py @@ -1,4 +1,4 @@ =2D#!/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 5556f692b7ee..6e59837ee673 100755 =2D-- a/tools/nfs-iostat/nfs-iostat.py +++ b/tools/nfs-iostat/nfs-iostat.py @@ -1,4 +1,4 @@ =2D#!/usr/bin/python +#!/usr/bin/python3 # -*- python-mode -*- """Emulate iostat for NFS mount points using /proc/self/mountstats """ =2D-=20 2.28.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG8Yp69OQ2HB7X0l6Oeye3VZigbkFAl9FiI4ACgkQOeye3VZi gbkuaw//ThjizsyC2tK/XOuA2aPAm/F5BIYdM7sLEp1V/+r+X+4OgNUQDPu8O7xo fUvWqAy3DR2mOBQLBY42mcNEiTy8S0ZpAlaRZhu3S/3OXxZ92pNkS2DjbYGJbnam OXb1WoZvBskhjyY1kxxS8d57rc7zpDgbMmTKq4e4oc3804y3QYz3h/hAr/4KSPRL qWiqnPVYNrWSd7amUBpdA7njQkT02TayQdF9n9BM1mpVBTTJG8mFwapgg9NDaC1A 17sZoO0hR24wQIlq+kK0212eWsB10Gz0ZpD8ydalj24Lv0T4edR+xMxy/AQi/W24 rNsUrnSOCkGDYwsdLHARWefehc7ElLBS1a24xr/chbVa7p+PkvuSbmFwxfNchl6W 2431hl5DuYcsTbl6md9Rcd0p0dxqF1IEizS8b4QJhizoj7uPBofKqO8k5TCXc6s9 R075+YDfGqA2/PbirqhtHTMNVmmR+FT7srbOQ6ZKBD05zP9dU2Lv6odZnLZtn9FU ObmvX8u+2euLDQ17qL0AnyyNeYQfmNMFe1LL2aGGDY5JRsnfx/ktIOvubb1T8Sz0 /AvsoHWJH9N3jWtBuTO5rIJggF1YzAPg9BK7OY12GACON6iiCXIJl6/4LaTRAqf3 RQxkTLOJfXcJl1mRrYjq0LMv6LkquXgnUsFss7yXNN4Lfx4y01c= =3dwc -----END PGP SIGNATURE----- --=-=-=--