From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C8AAEA04B1; Sun, 22 Nov 2020 21:54:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0CEE7FFA; Sun, 22 Nov 2020 21:54:43 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 80EF523D for ; Sun, 22 Nov 2020 21:54:41 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 21E535C007C; Sun, 22 Nov 2020 15:54:40 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 22 Nov 2020 15:54:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= eFcRL2KYfwynoQzU8T10FTD0KxIQQ0piOHCsi650jbQ=; b=tqNN71f80p+OpvQ2 lJhtHYrAiA+MZjnsz95t876PcoVS0kUA6Vcro98ShNnEWYhtdJGqDeAlO91xIZlz LVi9LeUakNCiWeiGsvJ8PMRN2QZSqrwJvjoFFVeAodrypwYfk5ZwNs36K3VviSkw k1DXxKCdxhB5SJ3Xt5cHfmSgtZE87pDXsEqdRqDzkHWTEUFgPemEmKV06YHO2fBP rl1ogH9rEaJ33FEUqXIU1/wFOs82HVCK7LeqQBSbX8JZY6v0lTSvq7Kgrcj2nIkt B8rRzfuWdKRCxw/qvWL4t3moNCWGio07UwUEAS1K3RW3jh5PNG1k2Z6/ilL7rB7O JQDS8A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=eFcRL2KYfwynoQzU8T10FTD0KxIQQ0piOHCsi650j bQ=; b=lhy6tYTUaffKcv3Mh/W9T/tnce18nyG5BPkB9RoMG7pKs52BH79zILSza p+9twMDGYC6LwiGL167I6MLgrcikg+XQEHV48bfSjT1FvCdK4+mQJDeTN6LlljL9 9IaTE1LuAObA00/DOQHYFTz3HZRTiiwD7iOdVJQT1h09IrKg5lRAXGaA1y+lrlrN Xo3Gbmge/p0LH59KOY4zafqqMqB7irS9iPr5ouB8M0d2+zH4GPqRIAj8Dn9OyPUh SQlFgtvCBPDSvmHy46rPTsPND01QJxCu3xL5gm9wa3tE+XOpcL/mLRUDoTOx0bI1 NQ5XzyxV7OBEDfzHcW9OM3Uw8klDA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeggedgudeghecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr lhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 372953280064; Sun, 22 Nov 2020 15:54:39 -0500 (EST) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org Date: Sun, 22 Nov 2020 21:54:35 +0100 Message-ID: <4472652.2kD2O1zCN4@thomas> In-Reply-To: <20201104064842.25832-1-stephen@networkplumber.org> References: <20200906013133.26360-3-stephen@networkplumber.org> <20201104064842.25832-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 0/7] dpdk-pmdinfo: python lint cleanups X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 04/11/2020 07:48, Stephen Hemminger: > Ran dpdk-pmdinfo through Python3 lint and it had lots of complaints. > These are the obvious simple ones to fix. Skipped adding docstrings > everywhere and doing large scale variable recasing. > > v2 - split out the pmdinfo specific part > incorporate feedback from Bruce about last use of len() > > Stephen Hemminger (7): > dpdk-pmdinfo: replace string.split with split > dpdk-pmdinfo: replace io.open with open > dpdk-pmdinfo: remove unnecessary paren and else > dpdk-pmdinfo: replace is False and is True > dpdk-pmdinfo: fix indentation > dpdk-pmdinfo: replace deprecated optparse with argparse > dpdk-pmdinfo: do not use len(x) to test for empty Applied, thanks