Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1029377pxk; Mon, 31 Aug 2020 08:01:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznQlShocGSzMF7YpgPaTMWl5Uzbi/PPJb6DbWLE1ly9BEeL2EGzumbifLtNkFOx2zfId5v X-Received: by 2002:a17:906:46c9:: with SMTP id k9mr1504778ejs.38.1598886067356; Mon, 31 Aug 2020 08:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598886067; cv=none; d=google.com; s=arc-20160816; b=ZXtm/b6wgAlJag6W6O36z5yFNL25n0QzIWfST1Kh+Uni2Z7dOb5wRV7nQP18VSLrs8 IHmgfvyUiTx/tiP956h3Vxf1Q8+SbeV2vi+Ma6MzA0OsSPkVuhyFC2h1fztE0RpI5Cv2 TxGfoJEeoHNUvu8kpDVPtg8ApH4QD29KrfynGqk4rCFdSQwXJuS+FtpcuIWOdoRF4GLc hqI/zSZ0ibjQPpFQC64tJxcK1WIUx0tVbXFvH6DGzbqD1NP82VDmMmOS/sVdV6RnWArY z3QUJs8FuKpBzOQQSbbmNsQgbQzeYqByszoMfDP43ElGc2HlD+Ixk7tHn5MVF7fT8aiS t4ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=SGKkBRx2X2c4kqxAWKe1E8dQFFxz1tEDVcsZgrSOY0w=; b=zefYgmEiANDnBtqAN8wqwiZLbbiF5wu+Z6CBWO9wS4f9IIblua17je74DEPx20ofjT 5XNKHcegAggneqrli05ssfy0YzYcyJFYBbRLyxkBSgWW2p5S4VtYwQy5s9PPEwPezFr/ /kelBcc7vKZHzyJLbUJvOFaOf7XxWSbawR2P56sSyMMtNTYHrxTUoYRuwyghHJpw6JiN ae40WgaWaPraGtj4QkEZBhE16ebb9MHejMkIP0tenEWBQwVH//9C4oZurAf/1MUihShm Rx/tO71duv4A0kT6zgia69vNou6ZhQkUUSWlAtwN2K91uRPShQbG94Bn+C4+zWKfqivk yM0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hdmh4eJn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rl11si5722013ejb.519.2020.08.31.08.00.32; Mon, 31 Aug 2020 08:01:07 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hdmh4eJn; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728149AbgHaO7x (ORCPT + 99 others); Mon, 31 Aug 2020 10:59:53 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:37673 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726144AbgHaO7s (ORCPT ); Mon, 31 Aug 2020 10:59:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1598885987; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=SGKkBRx2X2c4kqxAWKe1E8dQFFxz1tEDVcsZgrSOY0w=; b=hdmh4eJnAS7T5btWyDGRx7oS3kyHiad6r+bCmITRyWVrBnsLOhFALQw9t1NmOJBGENNXJ1 IcA3URZKvwVJyBLjpCgO5tdu0PMJPKnZjCzjZDmJYgy6Z4LmkldZZLEIcrl/i3KFyln7xa lbOeWxaWgi1IiC6NhTJ5XzUnjv03u1k= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-545-Vh5kN6AHPyCm3SZLY9mpwQ-1; Mon, 31 Aug 2020 10:59:44 -0400 X-MC-Unique: Vh5kN6AHPyCm3SZLY9mpwQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9F9DD801AAC; Mon, 31 Aug 2020 14:59:43 +0000 (UTC) Received: from madhat.boston.devel.redhat.com (ovpn-113-190.phx2.redhat.com [10.3.113.190]) by smtp.corp.redhat.com (Postfix) with ESMTP id 38B707A5E0; Mon, 31 Aug 2020 14:59:43 +0000 (UTC) Subject: Re: [PATCH nfs-utils] Convert remaining python scripts to python3 To: NeilBrown Cc: Linux NFS Mailing List References: <87zh6iqtm9.fsf@notabene.neil.brown.name> From: Steve Dickson Message-ID: Date: Mon, 31 Aug 2020 10:59:42 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <87zh6iqtm9.fsf@notabene.neil.brown.name> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On 8/25/20 5:54 PM, NeilBrown wrote: > > 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 Committed... (tag: nfs-utils-2-5-2-rc4) steved. > --- > 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 > --- 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 5556f692b7ee..6e59837ee673 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 > """ >